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

Commit a75594aa authored by Bill Lin's avatar Bill Lin
Browse files

Ensure dump info include SYSUI_STATE_ONE_HANDED_ACTIVE state

Test: adb shell bugreport, search "SysUiState state:"
      then check if one_handed_active state showing
Bug: 150747909
Change-Id: Ic6cd7e1beeb1b8464a3483bfd8e90d92ab09a30a
parent 645a2995
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -107,6 +107,7 @@ public class QuickStepContract {
            SYSUI_STATE_TRACING_ENABLED,
            SYSUI_STATE_ASSIST_GESTURE_CONSTRAINED,
            SYSUI_STATE_BUBBLES_EXPANDED,
            SYSUI_STATE_ONE_HANDED_ACTIVE,
            SYSUI_STATE_GLOBAL_ACTIONS_SHOWING
    })
    public @interface SystemUiStateFlags {}
@@ -131,6 +132,7 @@ public class QuickStepContract {
        str.add((flags & SYSUI_STATE_ASSIST_GESTURE_CONSTRAINED) != 0
                ? "asst_gesture_constrain" : "");
        str.add((flags & SYSUI_STATE_BUBBLES_EXPANDED) != 0 ? "bubbles_expanded" : "");
        str.add((flags & SYSUI_STATE_ONE_HANDED_ACTIVE) != 0 ? "one_handed_active" : "");
        return str.toString();
    }