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

Commit 0901fda2 authored by Romain Guy's avatar Romain Guy Committed by Mathias Agopian
Browse files

Enable HW accelerated window shade for all devices

Change-Id: I78ca9a192ae97e3160d3cf17a61856f60c64807c
parent 1ad66b2f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1858,9 +1858,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");