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

Commit 305d6991 authored by Bill Lin's avatar Bill Lin
Browse files

Dump mIsSwipeToNotificationEnabled state

Legacy code lack of mIsSwipeToNotificationEnabled when dumpsys

Test: atest WMShellUnitTests
Test: adb shell dumpsys activity service com.android.systemui
Bug: 203742040
Change-Id: I8bad4ff82952ec357131a7606c9ec94441400c07
parent 4b55fab5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -689,6 +689,8 @@ public class OneHandedController implements RemoteCallable<OneHandedController>,
        pw.println(mUserId);
        pw.print(innerPrefix + "isShortcutEnabled=");
        pw.println(isShortcutEnabled());
        pw.print(innerPrefix + "mIsSwipeToNotificationEnabled=");
        pw.println(mIsSwipeToNotificationEnabled);

        if (mBackgroundPanelOrganizer != null) {
            mBackgroundPanelOrganizer.dump(pw);
+2 −0
Original line number Diff line number Diff line
@@ -244,6 +244,8 @@ public final class OneHandedSettingsUtil {
        pw.println(TAG);
        pw.print(innerPrefix + "isOneHandedModeEnable=");
        pw.println(getSettingsOneHandedModeEnabled(resolver, userId));
        pw.print(innerPrefix + "isSwipeToNotificationEnabled=");
        pw.println(getSettingsSwipeToNotificationEnabled(resolver, userId));
        pw.print(innerPrefix + "oneHandedTimeOut=");
        pw.println(getSettingsOneHandedModeTimeout(resolver, userId));
        pw.print(innerPrefix + "tapsAppToExit=");