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

Commit 0d8eba64 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "Enable HW accelerated window shade for all devices" into jb-dev

parents 6b5caee4 0901fda2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1943,9 +1943,7 @@ public class PhoneStatusBar extends BaseStatusBar {
                    | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
                PixelFormat.TRANSLUCENT);

        if (ActivityManager.isHighEndGfx(mDisplay)) {
        lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
        }

        lp.gravity = getStatusBarGravity();
        lp.setTitle("StatusBar");