summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceUtils.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2022-12-27 17:00:52 -0800
committer Ale Nijamkin <nijamkin@google.com> 2023-01-10 00:31:30 +0000
commit20fd9de94e367b0491fe3605df13bb6c20070262 (patch)
treeb1732b824e3979070d2d50cabba91c16fc1dbac4 /libs/androidfw/ResourceUtils.cpp
parente84b9a0375aab530ead80e43abc7e71b50e7e1f1 (diff)
Fixes user switcher dialog animations.
The user switcher dialog uses a chain of dialogs linked through common CUJs to morph-animate dialogs into one another as the user goes through flows that require showing a second dialog after the first. ag/20259287 was an overzealous fix for b/254704051; a bug where the user switcher dialog was still visible above the "add supervised user" activity. The fix addressed the problem but introduced a regression because it was dismissing the user switcher dialog each time any item in the dialog was clicked. This CL basically reverts ag/20259287 and re-does the fix more surgically in a lower layer. UserInteractor will ask to dismiss the dialog if it wants to start the activity for the specific action of adding a supervised user. Fix: 262743114 Test: modified UserInteractorTest (and also modernized it all) Test: manually verified that the dialogs morph-animate Test: manually verified that starting the "add supervised user" activity causes the user switcher dialog to be dismissed Test: all tested on handheld device (phone) Change-Id: Ia33c8644ca891879f36c62c0257ebdc897623c40 Merged-In: Ia33c8644ca891879f36c62c0257ebdc897623c40
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions