diff options
| author | 2022-01-28 20:31:44 +0000 | |
|---|---|---|
| committer | 2022-01-28 20:31:44 +0000 | |
| commit | 665796dd6dfbbdaa38335b13c33137d6ffbfa10c (patch) | |
| tree | 6026663776ecda78cc6a134e9997acf6f5afd299 | |
| parent | e9485a414422685249b02ad350392b0cfb68312d (diff) | |
| parent | 9f165ca3e1d900d9539a373550725cc5d55b2682 (diff) | |
Merge "Fix Wbitwise-instead-of-logical introduced by clang-r445002" am: 9f165ca3e1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961919
Change-Id: I2c4c1d618174fef1a08cca712e259878719c13c4
| -rw-r--r-- | cmds/incidentd/src/WorkDirectory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/incidentd/src/WorkDirectory.cpp b/cmds/incidentd/src/WorkDirectory.cpp index 23d80d7953b7..0d8bd40a4de1 100644 --- a/cmds/incidentd/src/WorkDirectory.cpp +++ b/cmds/incidentd/src/WorkDirectory.cpp @@ -280,7 +280,7 @@ void ReportFile::addReport(const IncidentReportArgs& args) { // Lower privacy policy (less restrictive) wins. 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()) { if (!has_section(*report, section)) { report->add_section(section); |