diff options
author | Romain Guy <romainguy@google.com> | 2012-05-22 21:10:57 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-06-05 21:51:12 -0700 |
commit | 0901fda2fe59715e9522a7a190ed260b435fea24 (patch) | |
tree | 1fcc27b279a0a0838f11f7096be9bddc417a7ace /packages/SystemUI | |
parent | 1ad66b2f873496bcbe72e91d1978cf1b2633b3a4 (diff) | |
download | frameworks_base-0901fda2fe59715e9522a7a190ed260b435fea24.zip frameworks_base-0901fda2fe59715e9522a7a190ed260b435fea24.tar.gz frameworks_base-0901fda2fe59715e9522a7a190ed260b435fea24.tar.bz2 |
Enable HW accelerated window shade for all devices
Change-Id: I78ca9a192ae97e3160d3cf17a61856f60c64807c
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 10bb889..ba5d998 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -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"); |