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

* commit '0b828ee0d53980d6f5ce62248cab57f177921fa8':
  Set the correct flags for brightness dialog to show on all users
This commit is contained in:
Amith Yamasani
2012-10-22 16:30:00 -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().addFlags(
WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS);
mBrightnessDialog.getWindow().getAttributes().privateFlags |=
WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
mBrightnessDialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
}
if (!mBrightnessDialog.isShowing()) {