diff options
author | Daniel Sandler <dsandler@android.com> | 2012-10-11 09:56:45 -0700 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2012-10-11 09:56:45 -0700 |
commit | ace0bd77438c89578ff821a86ff1ae91f8000ed3 (patch) | |
tree | aae57298737683a0ec4e1857aa3e1df659cdb2eb /packages/SystemUI | |
parent | efb0faf1c043777762eecfef87ec575632c365e1 (diff) | |
download | frameworks_base-ace0bd77438c89578ff821a86ff1ae91f8000ed3.zip frameworks_base-ace0bd77438c89578ff821a86ff1ae91f8000ed3.tar.gz frameworks_base-ace0bd77438c89578ff821a86ff1ae91f8000ed3.tar.bz2 |
Remove notification/quicksettings explanation cling.
Bug: 7319756
Change-Id: Ic860de7579079596d0e4c3412cf0fa1ccaadc3e1
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 5 |
1 files changed, 3 insertions, 2 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 24f602d..d68151d 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -106,6 +106,8 @@ public class PhoneStatusBar extends BaseStatusBar { public static final boolean DEBUG_CLINGS = false; + public static final boolean ENABLE_NOTIFICATION_PANEL_CLING = false; + // additional instrumentation for testing purposes; intended to be left on during development public static final boolean CHATTY = DEBUG; @@ -505,8 +507,7 @@ public class PhoneStatusBar extends BaseStatusBar { mClingShown = ! (DEBUG_CLINGS || !Prefs.read(mContext).getBoolean(Prefs.SHOWN_QUICK_SETTINGS_HELP, false)); - // robots don't need help - if (ActivityManager.isRunningInTestHarness()) { + if (!ENABLE_NOTIFICATION_PANEL_CLING || ActivityManager.isRunningInTestHarness()) { mClingShown = true; } |