summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Jahdiel Alvarez <jahdiel@google.com> 2024-05-08 15:54:41 -0700
committer Jahdiel Alvarez <jahdiel@google.com> 2024-08-15 13:01:14 -0700
commit00f0fd9d93957cce014590e6e5f132fd85a5b948 (patch)
tree3a776be38765d31e8c1a69bafbbe4e18b8a16599 /libs/androidfw/misc.cpp
parent7f23739ff50bc83c4b14f6d8fac01f563db549ed (diff)
Refactor JobScheduler to handle user switch via onUserSwitching method
JobSchedulerService will handle SystemService's onUserSwitching method in order to remove the previous user from its internal started users array in the case the previous user is stopped during user switch. With respect to the stopping previous user apps feature, this will prevent JobSchedulerService from restarting packages that were early killed during the user switch system event. Test: Manually run user switch on device Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job Test: atest CtsJobSchedulerTestCases Bug: 323200731 Flag: com.android.server.job.remove_user_during_user_switch Change-Id: Ie2813482db061c8b2f21ce0731bbf5cf23897158
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions