当前位置: 代码迷 >> Android >> Android Compatibility zoom dialog 封锁
  详细解决方案

Android Compatibility zoom dialog 封锁

热度:493   发布时间:2016-04-28 07:20:54.0
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.javaindex 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

?

  相关解决方案