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

Commit c602ceb5 authored by jasonwshsu's avatar jasonwshsu
Browse files

Accessibility shortcut secondary action - fix permission dialog did not pop up

- Need to set EXTRA_CHECKED after shortcutPreference's checkbox is unchecked

Bug: 142530063
Test: manual
Change-Id: I7f1ea5a9d4b12ac958ac8a074cf7a267faddb4ad
parent 8b1bf8a4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -487,6 +487,7 @@ public class ToggleAccessibilityServicePreferenceFragment extends
        } else {
            AccessibilityUtil.optOutAllValuesFromSettings(getContext(), shortcutTypes,
                    mComponentName);
            getArguments().putBoolean(AccessibilitySettings.EXTRA_CHECKED, false);
        }
    }