Skip to content

Commit ace0bd7

Browse files
committed
Remove notification/quicksettings explanation cling.
Bug: 7319756 Change-Id: Ic860de7579079596d0e4c3412cf0fa1ccaadc3e1
1 parent efb0faf commit ace0bd7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ public class PhoneStatusBar extends BaseStatusBar {
106106

107107
public static final boolean DEBUG_CLINGS = false;
108108

109+
public static final boolean ENABLE_NOTIFICATION_PANEL_CLING = false;
110+
109111
// additional instrumentation for testing purposes; intended to be left on during development
110112
public static final boolean CHATTY = DEBUG;
111113

@@ -505,8 +507,7 @@ public void onSizeChanged(View view, int w, int h, int oldw, int oldh) {
505507
mClingShown = ! (DEBUG_CLINGS
506508
|| !Prefs.read(mContext).getBoolean(Prefs.SHOWN_QUICK_SETTINGS_HELP, false));
507509

508-
// robots don't need help
509-
if (ActivityManager.isRunningInTestHarness()) {
510+
if (!ENABLE_NOTIFICATION_PANEL_CLING || ActivityManager.isRunningInTestHarness()) {
510511
mClingShown = true;
511512
}
512513

0 commit comments

Comments
 (0)