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

Commit 55c70293 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "Show the touch explore enable dialog for the current user." into jb-mr1-dev

parents 4efbab48 318b00bf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1123,7 +1123,9 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
                        R.string.enable_explore_by_touch_warning_message, label))
                .create();
            mEnableTouchExplorationDialog.getWindow().setType(
                    WindowManager.LayoutParams.TYPE_INPUT_METHOD_DIALOG);
                    WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
            mEnableTouchExplorationDialog.getWindow().getAttributes().privateFlags
                    |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
            mEnableTouchExplorationDialog.setCanceledOnTouchOutside(true);
            mEnableTouchExplorationDialog.show();
        }