commit | b51b844dc892ed98b73541afc6931377857bea2d | [log] [tgz] |
---|---|---|
author | Daniel Sandler <dsandler@google.com> | Fri Aug 05 08:45:55 2011 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Aug 05 08:45:55 2011 -0700 |
tree | fca351dacc391d36af475afe5b3e02a3381208dd | |
parent | 458032659cc7c75f90ae6a4311c92fa15317b78d [diff] | |
parent | 319d1e3b28400c749dec8e6c172c2b4872027e38 [diff] |
Merge "Stop popping up the compatibility mode dialog all the time."
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java index ae19cb1..7f56d45 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
@@ -1077,7 +1077,10 @@ mCompatModeButton.refresh(); if (mCompatModeButton.getVisibility() == View.VISIBLE) { + if (DEBUG_COMPAT_HELP + || ! Prefs.read(mContext).getBoolean(Prefs.SHOWN_COMPAT_MODE_HELP, false)) { showCompatibilityHelp(); + } } else { hideCompatibilityHelp(); mCompatModePanel.closePanel();