Skip to content

Commit 0901fda

Browse files
Romain Guypixelflinger
authored andcommitted
Enable HW accelerated window shade for all devices
Change-Id: I78ca9a192ae97e3160d3cf17a61856f60c64807c
1 parent 1ad66b2 commit 0901fda

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,9 +1858,7 @@ private void addStatusBarWindow() {
18581858
| WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
18591859
PixelFormat.TRANSLUCENT);
18601860

1861-
if (ActivityManager.isHighEndGfx(mDisplay)) {
1862-
lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
1863-
}
1861+
lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
18641862

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

0 commit comments

Comments
 (0)