Skip to content
Commit fe0fc291 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

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
parent 9f186350
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment