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
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user