Skip to content
Commit 7efe0b9b authored by ryanlwlin's avatar ryanlwlin
Browse files

Disable volume-key-accessibility shortcut upon exiting setup wizard

The volume-key-accessibility shortcut is often triggered accidentally,
which causes much frustration for users who are not familiar with it,
and do not know how to revert.

To help prevent this from happening, we will set the shortcut targets
to empty if setup has been completed without the enabled
AccessibilityService associated with the default shortcut.

Bug: 226866175
Test: manual test:
     1. activate shortcut during setup wizard then finish setup wizard,
	observe settings value of shortcut targets. It should not be
	empty.
     2. Finish setup wizard then observe esttings value of shortcut
	targets. It should be empty.
     3. Create a new user and run step 2 and 3 separately.
Change-Id: Iaf99b850043f7606d6b183f0b4822c36287fa106
parent 0bdead62
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