diff options
author | Suprabh Shukla <suprabh@google.com> | 2020-02-27 15:18:31 -0800 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2020-02-27 15:51:50 -0800 |
commit | fe0fc291b4bf02104d4d6800b2cdcaeb345187e0 (patch) | |
tree | 5eedc846caf5cb6b1a32451c39c14d14fcc179bb /libs/hwui/renderthread/RenderThread.cpp | |
parent | 9f186350a0334f2ed1a347df0afdc96360fc6918 (diff) |
Fix parantheses in conditional
((A or B) and C) was written as (A or B and C), leading to
unnecessary code execution and clearing distracting
restrictions whenever any app is disabled by the user.
Also, adding distraction flags to the package dump.
Test: Set distraction flags on any app via Digital Wellbeing
Disable any app and confirm that restrictions don't get cleared via:
adb shell dumpsys package <package-name>
Bug: 145735990
Change-Id: I096fe8e8f13c8b83c86041b993b1faf0cc1582b0
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions