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

Commit 0b828ee0 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

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

parents 4ce82df5 7ecdc7fd
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()) {