Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e6dcb00 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 0b828ee0: Merge "Set the correct flags for brightness dialog to show on all...

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

* commit '0b828ee0':
  Set the correct flags for brightness dialog to show on all users
parents 5419ae87 0b828ee0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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()) {