Merge "Fix switching "Swipe down from Show notification" to "Pull screen into reach" will not able to trigger it at first time" into sc-v2-dev am: 323e305540 am: af394e05a3

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

Change-Id: I5fb8fa03d8b627b963e9a19345894eafbdfea58d
This commit is contained in:
Jason Chang
2021-09-30 18:02:12 +00:00
committed by Automerger Merge Worker

View File

@@ -537,6 +537,7 @@ public class OneHandedController implements RemoteCallable<OneHandedController>,
mOneHandedSettingsUtil.getSettingsSwipeToNotificationEnabled(
mContext.getContentResolver(), mUserId);
setSwipeToNotificationEnabled(enabled);
notifyShortcutStateChanged(mState.getState());
mOneHandedUiEventLogger.writeEvent(enabled
? OneHandedUiEventLogger.EVENT_ONE_HANDED_SETTINGS_SHOW_NOTIFICATION_ENABLED_ON