Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b7f72925 authored by chihtinglo's avatar chihtinglo Committed by Candice
Browse files

feat(EvenDimmer): Add popup for removing accessibility shortcuts

We do the following changes to show a popup for helping users to
deprecate Extra Dim shortcuts:
1. Send ACTION_LAUNCH_EXTRA_DIM_DIALOG when the Extra Dim shortcuts are
   triggered on the devices with EvenDimmer
2. The ACTION is received in SystemUI
3. Show popup for removing Extra Dim shortcuts(Dismiss keyguard if
   needed)
4. Remove all potential Extra Dim shortcuts when users click on the
   "Remove Extra Dim shortcut" button
5. Show the instructions with a toast after removing the shortcuts

Bug: 349458355
Test: atest ExtraDimDialogDelegateTest
      atest ExtraDimDialogReceiverTest
      atest ExtraDimDialogManagerTest
Flag: com.android.server.display.feature.flags.even_dimmer
Change-Id: I7fcda2ad38b780f2b83478c7170b45497cb25624
parent 10d1fca8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment