Android Compatibility zoom dialog 关闭

代码在systemui中:base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java

showCompatibilityHelp:

diff --git a/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
index 86c247a..2bc75af 100644
--- a/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
+++ b/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
@@ -1100,13 +1100,19 @@ public class TabletStatusBar extends BaseStatusBar implements
         // See above re: lights-out policy for legacy apps.
         if (showMenu) setLightsOn(true);
 
+        //**Close Compatibility zoom dialog
+        /*
         mCompatModeButton.refresh();
         if (mCompatModeButton.getVisibility() == View.VISIBLE) {
             if (DEBUG_COMPAT_HELP
                     || ! Prefs.read(mContext).getBoolean(Prefs.SHOWN_COMPAT_MODE_HELP, false)) {
                 showCompatibilityHelp();
             }
-        } else {
+        } else
+        */
+        {
             hideCompatibilityHelp();
             mCompatModePanel.closePanel();
         }
-- 
1.8.3.rc0

 

你可能感兴趣的:(android,SystemUI)