summaryrefslogtreecommitdiff
path: root/rs
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2019-03-13 14:06:42 -0700
committerKeun young Park <keunyoung@google.com>2019-04-02 15:29:54 -0700
commitdf54b66b2f281b901b25cacb27c3514eaad42e4f (patch)
tree67737bd499e33ca3ab6c35f0fb211b6322f0674d /rs
parent29e5ea6741605fcc7699163a1cf36a3b9a042dd5 (diff)
Add multiuserDelayUserDataLocking configuration
- In this mode, when user switching happens, old user (=background user) is always stopped but the user's data is kept unlocked. - Locking of user data is postponed until mMaxRunningUsers is reached. So this change does not leave more users unlocked while all background users , other than user 0, are stopped. - For users in stopped state with data unlocked, user can be re-started in background for usage like running JobScheduler jobs. - Exceptions to this configuration of stopping / locking background users are: User 0 is never stopped / locked. Ephemeral user is always stopped / locked. User with DISALLOW_RUN_IN_BACKGROUND flag will be always stopped / locked. - Added tests for this mode vs normal mode. Bug: 128038498 Test: Do user switch and check user locking / stopping through log. Change-Id: I554d0744adad172f361e9f00f609e2f91100b9e4
Diffstat (limited to 'rs')
0 files changed, 0 insertions, 0 deletions