* commit '0b986a7b3d93a6a33d723d2d2d432e946b0ef331': Enable HW accelerated window shade for all devices
This commit is contained in:
@@ -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.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
|
||||
|
||||
lp.gravity = getStatusBarGravity();
|
||||
lp.setTitle("StatusBar");
|
||||
|
||||
Reference in New Issue
Block a user