Skip to content

Commit 0d8eba6

Browse files
pixelflingerAndroid (Google) Code Review
authored andcommitted
Merge "Enable HW accelerated window shade for all devices" into jb-dev
2 parents 6b5caee + 0901fda commit 0d8eba6

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
@@ -1943,9 +1943,7 @@ private void addStatusBarWindow() {
19431943
| WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
19441944
PixelFormat.TRANSLUCENT);
19451945

1946-
if (ActivityManager.isHighEndGfx(mDisplay)) {
1947-
lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
1948-
}
1946+
lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
19491947

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

0 commit comments

Comments
 (0)