Merge "Show brightness dialog for all users." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3c84c9bc7a
@@ -771,6 +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().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
|
||||
}
|
||||
if (!mBrightnessDialog.isShowing()) {
|
||||
|
||||
Reference in New Issue
Block a user