Loading services/core/java/com/android/server/policy/LegacyGlobalActions.java +8 −5 Original line number Diff line number Diff line Loading @@ -202,11 +202,14 @@ class LegacyGlobalActions implements DialogInterface.OnDismissListener, DialogIn && !(mAdapter.getItem(0) instanceof LongPressAction)) { ((SinglePressAction) mAdapter.getItem(0)).onPress(); } else { if (mDialog != null) { WindowManager.LayoutParams attrs = mDialog.getWindow().getAttributes(); attrs.setTitle("LegacyGlobalActions"); mDialog.getWindow().setAttributes(attrs); mDialog.show(); mDialog.getWindow().getDecorView().setSystemUiVisibility(View.STATUS_BAR_DISABLE_EXPAND); mDialog.getWindow().getDecorView().setSystemUiVisibility( View.STATUS_BAR_DISABLE_EXPAND); } } } Loading Loading
services/core/java/com/android/server/policy/LegacyGlobalActions.java +8 −5 Original line number Diff line number Diff line Loading @@ -202,11 +202,14 @@ class LegacyGlobalActions implements DialogInterface.OnDismissListener, DialogIn && !(mAdapter.getItem(0) instanceof LongPressAction)) { ((SinglePressAction) mAdapter.getItem(0)).onPress(); } else { if (mDialog != null) { WindowManager.LayoutParams attrs = mDialog.getWindow().getAttributes(); attrs.setTitle("LegacyGlobalActions"); mDialog.getWindow().setAttributes(attrs); mDialog.show(); mDialog.getWindow().getDecorView().setSystemUiVisibility(View.STATUS_BAR_DISABLE_EXPAND); mDialog.getWindow().getDecorView().setSystemUiVisibility( View.STATUS_BAR_DISABLE_EXPAND); } } } Loading