summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Will Leshner <wleshner@google.com> 2022-11-28 15:06:03 -0800
committer Will Leshner <wleshner@google.com> 2022-12-09 08:45:07 -0800
commitc5f6dc060408b8ce9ce293ec99c83b17d2ac60bf (patch)
tree180ee3f68f04c3e7d3ae137bab9109f3ebaaa8d0 /libs/androidfw/AssetsProvider.cpp
parent1f9eb48888c2c48ae58f3ee63cade5d590bd4c3e (diff)
Lock device on short power button press.
If a device is configured to dream on short power press, also make sure it locks as well. Also fixes an issue where the screen does not turn off when another user (not user zero) presses the power button. Bug: 260135090 Test: manually by configuring device to dream on short power press and then making sure it is also locked after press. Change-Id: I16ca4eab7a0e8a3f2ef42c090147bd7e62445c69
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions