summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Kenneth Ford <kennethford@google.com> 2021-12-21 23:08:49 +0000
committer Kenneth Ford <kennethford@google.com> 2022-01-14 21:06:19 +0000
commit34ac32953cf9df8c439bf4e318ff09247ccac853 (patch)
tree37cd7f12d16f6169075407266e8f43984a32bad8 /libs/androidfw/StringPool.cpp
parent0835d0140ec9148e8dbb6ebd49de2a67a4a59eca (diff)
Makes it so changes to device state that have the FLAG_CANCEL_OVERRIDE_REQUESTS
flag cancels all override requests Previously if a device state with the FLAG_CANCEL_STICKY_REQUESTS flag was entered, it only cancelled requests that were made from a process that was no longer alive. This was causing undesirable behavior where a device state that should act as a reset state was not cancelling override requests. This change makes it so if the device enters a state that is defined as a reset state (has the FLAG_CANCEL_OVERRIDE_REQUESTS on it) all the override requests are cancelled. This change also changes the flag name to FLAG_CANCEL_OVERRIDE_REQUESTS to be more correct and descriptive. Bug: 207686851 Test: DeviceStateTest, DeviceStateProviderImplTest Change-Id: I0af1d2917a3d422b5d05f0210d627454c23f9636
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions