Merge "Fix Wbitwise-instead-of-logical introduced by clang-r445002" am: 9f165ca3e1 am: 665796dd6d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961919 Change-Id: I6640db34b9ed6f3a4c64e0eb718c0eb0c725113e
This commit is contained in:
committed by
Automerger Merge Worker
commit
bdd7c5eb53
@@ -280,7 +280,7 @@ void ReportFile::addReport(const IncidentReportArgs& args) {
|
|||||||
// Lower privacy policy (less restrictive) wins.
|
// Lower privacy policy (less restrictive) wins.
|
||||||
report->set_privacy_policy(args.getPrivacyPolicy());
|
report->set_privacy_policy(args.getPrivacyPolicy());
|
||||||
}
|
}
|
||||||
report->set_all_sections(report->all_sections() | args.all());
|
report->set_all_sections(report->all_sections() || args.all());
|
||||||
for (int section: args.sections()) {
|
for (int section: args.sections()) {
|
||||||
if (!has_section(*report, section)) {
|
if (!has_section(*report, section)) {
|
||||||
report->add_section(section);
|
report->add_section(section);
|
||||||
|
|||||||
Reference in New Issue
Block a user