diff options
author | Chris Craik <ccraik@google.com> | 2015-05-04 14:36:49 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-05-05 10:36:09 -0700 |
commit | 2507c34d91bb0d722b6012e85cb47387b2aa6873 (patch) | |
tree | ff515c6827fb20c904ee1af7e551144c46ba3385 /packages/SystemUI/src/com/android/systemui/statusbar/phone | |
parent | 57436d3f7e7fca99400a9b90e93491e892d135ae (diff) | |
download | frameworks_base-2507c34d91bb0d722b6012e85cb47387b2aa6873.zip frameworks_base-2507c34d91bb0d722b6012e85cb47387b2aa6873.tar.gz frameworks_base-2507c34d91bb0d722b6012e85cb47387b2aa6873.tar.bz2 |
Cleanup properties
bug:19967854
Separate properties from Caches, into static, RenderThread-only class.
Also rewrites the means for java to set properties to correctly handle
threading, and adds an override for profile bars so that SysUi doesn't clutter
the screen with them.
Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar/phone')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 7 |
1 files changed, 7 insertions, 0 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 1c46d42..f5ef1d2 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -76,6 +76,7 @@ import android.view.Display; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.MotionEvent; +import android.view.ThreadedRenderer; import android.view.VelocityTracker; import android.view.View; import android.view.ViewGroup.LayoutParams; @@ -857,6 +858,12 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, // listen for USER_SETUP_COMPLETE setting (per-user) resetUserSetupObserver(); + // disable profiling bars, since they overlap and clutter the output on app windows + ThreadedRenderer.overrideProperty("disableProfileBars", "true"); + + // Private API call to make the shadows look better for Recents + ThreadedRenderer.overrideProperty("ambientRatio", String.valueOf(1.5f)); + return mStatusBarView; } |