summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Horvath <robhor@google.com>2021-06-24 14:44:49 +0200
committerRobert Horvath <robhor@google.com>2021-06-24 14:49:39 +0200
commit822394b0658a84a55c2534428b6625eb3208704b (patch)
treea48963fb5a5e035fd770945659ed1652fc8b8210 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5d422575615906df780b647f8d65418f519d8114 (diff)
Dismiss Inattentive Sleep Warning when inattentive sleep is disabled
Make sure that if attentive_timeout is set < 0, maybeHideInattentiveSleepWarningLocked is still called to dismiss the warning. Bug: 191822171 Test: Show warning: adb shell settings put secure attentive_timeout 30000 Disable inattentive sleep: adb shell settings put secure attentive_timeout -1 Verify warning is dismissed Test: atest PowerManagerServiceTest#testInattentiveSleep_hideWarningIfInattentiveSleepIsDisabled Test: atest --rerun-until-failure 20 InattentiveSleepTests#testInattentiveSleep_noWarningShownIfInattentiveSleepDisabled Change-Id: I9e5f956924bba9f29ae6cac94b087bd73ed0bac0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions