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

Commit db7d6590 authored by Thomas Leu's avatar Thomas Leu
Browse files

Revert "Fix the accessibility shortcut funtionaility."

This reverts commit 72c52dfb.

Reason for revert: The original commit only changed what was displayed in the settings, but not the actual value of the setting that was used during the shortcut operation.

Bug: b/269693551
Test: Locally tested on adt4-userdebug that the shortcut does not show TalkBack as target service if it is set to an empty string and the settings are opened for the very first time.

Change-Id: Ife2e098d1e55ed94efb2426505872546b27bc3bb
parent 72c52dfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ public class AccessibilityUtils {
        final String currentShortcutServiceId = Settings.Secure.getStringForUser(
                context.getContentResolver(), Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE,
                userId);
        if (!TextUtils.isEmpty(currentShortcutServiceId)) {
        if (currentShortcutServiceId != null) {
            return currentShortcutServiceId;
        }
        return context.getString(R.string.config_defaultAccessibilityService);