summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2023-06-16 23:25:40 -0700
committer Yeabkal Wubshit <yeabkal@google.com> 2023-06-16 23:31:28 -0700
commit5ea4cc204fd422a608e4296edb28d6401b6790b9 (patch)
treeefe753eb673ab1b7755e7cbfc4004b5acdbcd9c5 /libs/androidfw/StringPool.cpp
parent44a9993e063642af195443cd3988e77b70f57028 (diff)
Fix PowerKeyGestureTests#testPowerSinglePress
In ag/23249820, we moved the code to fetch power key behaviors from PhoneWindowManager#init to PhoneWindowManager#updateSettings. Since the PowerKeyGestureTests mocks out the updateSettings method, the key behaviors were not being read properly. This CL fixes the issue by explicitly setting the power button short press behavior (which used to be implicitly assumed in the specific test case). Bug: 287561423 Test: atest com.android.server.policy.PowerKeyGestureTests#testPowerSinglePress Change-Id: I446efafb5695d8fc76aa75d2338d8862e538cb01
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions