am b2e330c6: am 55c70293: Merge "Show the touch explore enable dialog for the current user." into jb-mr1-dev
* commit 'b2e330c6c41c21a5ab9c017257c5145d7f8b6ec7': Show the touch explore enable dialog for the current user.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user