summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Philip Junker <philipjunker@google.com> 2022-03-10 12:01:20 +0000
committer Philip Junker <philipjunker@google.com> 2022-03-23 09:43:55 +0000
commitf7c7f996193a35113c2d7b7bf27a3bbf90d2f469 (patch)
treeb2878002fa8ec3f59169b67a7f48050b3fe83c0a /libs/androidfw/ResourceTimer.cpp
parentb2eae2267386400421c63933182cebaee54998f4 (diff)
Restrict device wakeup via PowerManager.ACQUIRE_CAUSES_WAKEUP.
The default value of OP_TURN_SCREEN_ON is still MODE_ALLOWED, which means the user needs to actively disallow the special app access for an app to lose the functionality of turning the screen on via wakelock. Only wake the power group linked to the wake lock if valid power group id is provided. Bug: 216114297 Bug: 219568783 Test: manual Change-Id: Ib6df6e6c4f71adbb9bc8fd3db80708e4af0c40cc
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions