diff options
| author | 2021-12-09 11:44:30 -0500 | |
|---|---|---|
| committer | 2021-12-09 20:00:42 +0000 | |
| commit | 07ae2ce5321805d574cf4295562bca09c2bfd1fd (patch) | |
| tree | 4c4db5b27c75d85daee7276a5a7c6bfba5a76ccf /libs/androidfw/StringPool.cpp | |
| parent | 7dbd479b368f0e981dce37d3efa009562cc87738 (diff) | |
Hide UDFPS affordance when some dialogs show
- Add SystemUIDialogManager which tracks dialogs
and will send signals to listeners to hide affordances
when their managed dialogs are showing
- This CL hooks up SystemUIDialogManager to the showing
of the media output switcher and the global actions menu.
- If future dialogs should hide the udfps affordace,
it should pass the SystemUIDialogManager to the constructor
of the SystemUIDialog.
Bug: 209042127
Bug: 193517370
Test: atest SystemUITests
Test: manual test
1. Enroll UDFPS, set power button => power dialog
2. On the lock screen, long press power button
Observe: udfps affordance disappears
Test: manual test
1. Enroll UDFPS, play media so that a notification shows
2. On LS, change the media output from the notification
Observe: media output dialog appears and the udfps affordance
disappears
3. Tap on "Pair new device"
Observe: UDFPS reappears to authenticate
Change-Id: Ia53ad92375a534bacd8956350ae3a31660e9c703
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions