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

Commit b765c352 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix OHM H/W key shortcut dosn't work appropriately" into sc-qpr1-dev...

Merge "Fix OHM H/W key shortcut dosn't work appropriately" into sc-qpr1-dev am: 9a57cd55 am: d2393cc7 am: 56bd0e75

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15581982

Change-Id: I596214a6cf6efa90983ddc9f4d71fd814a63cb4c
parents 9bcdca1b 56bd0e75
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -445,6 +445,9 @@ public class OneHandedController implements RemoteCallable<OneHandedController>
        mOneHandedSettingsUtil.registerSettingsKeyObserver(
                Settings.Secure.ACCESSIBILITY_BUTTON_TARGETS,
                mContext.getContentResolver(), mShortcutEnabledObserver, newUserId);
        mOneHandedSettingsUtil.registerSettingsKeyObserver(
                Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE,
                mContext.getContentResolver(), mShortcutEnabledObserver, newUserId);
    }

    private void unregisterSettingObservers() {