am 9d20663d: am 0b828ee0: Merge "Set the correct flags for brightness dialog to show on all users" into jb-mr1-dev

* commit '9d20663d467a9002a8bb2c12a1edbfe35df2c399':
  Set the correct flags for brightness dialog to show on all users
This commit is contained in:
Amith Yamasani
2012-10-22 16:33:42 -07:00
committed by Android Git Automerger

View File

@@ -771,8 +771,8 @@ class QuickSettings {
}); });
mBrightnessDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); mBrightnessDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
mBrightnessDialog.getWindow().addFlags( mBrightnessDialog.getWindow().getAttributes().privateFlags |=
WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS); WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
mBrightnessDialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); mBrightnessDialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
} }
if (!mBrightnessDialog.isShowing()) { if (!mBrightnessDialog.isShowing()) {