summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yasin Kilicdere <tyk@google.com> 2022-05-26 19:10:11 +0100
committer Yasin Kilicdere <tyk@google.com> 2022-06-06 15:49:33 +0100
commit6eacf1b76c683eb4ed49c3746bd398a684c48a93 (patch)
treefa36fae88beb2fa00728bbbf08991ba8ef136ddf /libs/androidfw/StringPool.cpp
parentd59d17d74a8fe4addaedd2fe31bf2329bc0136c3 (diff)
Wait for ACTION_MEDIA_MOUNTED before removing started users.
Removing users immediately after starting them was causing system crashes on other parts of the Android. This CL makes sure ACTION_MEDIA_MOUNTED broadcast is received for those users (who received ACTION_USER_STARTED), before deleting them. This CL achives that by introducing a BroadcastWaiter helper class and does some code refactoring to move broadcast waiting related code from UserLifecycleTests into BroadcastWaiter. Bug: 233240023 Test: atest MultiUserPerfTests:android.multiuser.UserLifecycleTests --no-bazel-mode Change-Id: Ic7f3bdcdc700ad24add30b72855914a64cf0dafe
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions