Skip to content
Commit f2811097 authored by Jaewan Kim's avatar Jaewan Kim
Browse files

Keep media sessions for stopping user until the stopping is completed

If a user is quickly *switched back*, the user can be started again
without cleaning up its processes, while the onStopUser() is called in
the middle. It's because onStopUser() is for 'stopping is started' but
it may be canceled if the user is started again quickly.

Bug: 154965421
Test: Manual test on AAE emulator with Android-Q, and Pixel 3a XL with Android-R.
Change-Id: I6e51f865dd9e97edd8a465eeba02966b242525b2
parent e7f3897b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment