diff options
author | 2024-08-02 15:58:31 -0700 | |
---|---|---|
committer | 2024-08-09 09:51:08 -0500 | |
commit | ce09fdef598f11bc50b26ea50e800309ea8ce247 (patch) | |
tree | ab1ba78cf2afc73f9aebfd61e281c3b0b6045b12 /tools/aapt2/ResourceParser.cpp | |
parent | ecbdc5f1a341b104798685d3f0a4421b2f112ba4 (diff) |
Don't stop scheduled background user near alarm
If a user's alarm is going to go off in the next X minutes, don't
automatically stop a background user. There's no point automatically
stopping a user that we're just going to (or want to) restart soon
due to its alarm.
Bug: 353734966
Bug: 330351042
Flag: android.multiuser.schedule_stop_of_background_user
Test: atest FrameworksServicesTests:UserControllerTest#testScheduleStopOfBackgroundUser_rescheduleIfAlarm
Change-Id: I4813804f2646279871717be723d33e6c66d10033
Diffstat (limited to 'tools/aapt2/ResourceParser.cpp')
0 files changed, 0 insertions, 0 deletions