summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Austin Borger <borgera@google.com> 2022-03-08 13:25:58 -0800
committer Austin Borger <borgera@google.com> 2022-03-23 11:55:10 -0700
commit177d5bb18756ddca6e9f9e8caa0338ae07f21c92 (patch)
tree85f19739f86f06d41adfb634cab417f5fb6a8323 /libs/androidfw/StringPool.cpp
parent329ed6ef8e3dda96409130e1200faa106f0c4835 (diff)
Modify UidRecord.CHANGE_PROCSTATE such that it behaves like a bit mask.
UidRecord.CHANGE_PROCSTATE was allocated the value 0, since it is assumed that if there is any change to a UidRecord it includes a proc state change. This is a valid assumption, but is not an unusual design for a bitmask. This change adds a bit specifically for proc state changes. At the time of this change, CHANGE_PROCSTATE should always be set. However the intention is to pre-empt change I68d964f474d20f819f54b614a4e314ce00aac8fb, which breaks the assumption that all UidRecord changes will include proc state. To avoid verbosity, additional constants have been defined which combine the other change bits with CHANGE_PROCSTATE for external users to reference. Change-Id: Iae7e6601938d1b3ee5c4c9b339ae06029eb598e6 Bug: 124224342 Test: -- ActivityManagerServiceTest -- ActivityManagerProcessStateTest -- ActivityManagerFgsBgStartTest -- UidObserverControllerTest -- CtsAppTestCases
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions