Enable HW accelerated window shade for all devices
Change-Id: I78ca9a192ae97e3160d3cf17a61856f60c64807c
This commit is contained in:
committed by
Mathias Agopian
parent
1ad66b2f87
commit
0901fda2fe
@@ -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.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
|
||||
|
||||
lp.gravity = getStatusBarGravity();
|
||||
lp.setTitle("StatusBar");
|
||||
|
||||
Reference in New Issue
Block a user