summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2022-12-01 14:01:00 -0800
committer Felipe Leme <felipeal@google.com> 2022-12-08 11:24:32 -0800
commit82012de2a18f8f7ce1e6d8f713c75a7375a162f2 (patch)
treeb66ddeddb1c78ea4ffcb6ce44174bfae974d89b1 /libs/androidfw/StringPool.cpp
parent748489854e2cc6b5477d9deb68c0b595e50fd3b4 (diff)
Refactored user start mode boolean into a tri-state int.
Prior to Android U, a user would start either on foreground (A.K.A. "current user") or background (in which case it could not launch activities). But now, the background user could be associated with a display, in which case it would become "visible" (and could launch activities in that display). So, this CL changes the foreground / background boolean state into a new tri-state int (@UserStartMode): - USER_START_MODE_FOREGROUND - USER_START_MODE_BACKGROUND - USER_START_MODE_BACKGROUND_VISIBLE But it doesn't change any logic (yet :-). Test: atest FrameworksServicesTests:UserControllerTest Bug: 261537398 Change-Id: I30fd3b0f4ea3fa03c3520214b360fc6920138f9f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions