summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Robert Horvath <robhor@google.com> 2022-02-17 11:27:01 +0100
committer Robert Horvath <robhor@google.com> 2022-02-25 17:13:50 +0000
commite5f5f12cdfcf38cb723e286ece61d29f1b2459b2 (patch)
tree3f239d44456baea013288588e1e9b45294416511 /libs/androidfw/misc.cpp
parent1dd3129e14965b565d721a83fd829e124fe6d4d2 (diff)
Fix inattentive sleep failing to go to sleep while dreaming
Sets the user activity summary to 0 if the attentive timeout is expired. This leads `canDreamLocked` to return `false`, and `handleSandman` to end the dream and put the device to sleep. Bug: 199967105 Bug: 209963168 Bug: 206737976 Test: atest PowerManagerServiceTest Change-Id: I022d8b3beab50548428923f25d2fbae29f5362d8
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions