OSDN Git Service

Make collapsed QS work the same as expanded
authorJason Monk <jmonk@google.com>
Tue, 10 May 2016 16:57:59 +0000 (12:57 -0400)
committerJason Monk <jmonk@google.com>
Tue, 10 May 2016 16:57:59 +0000 (12:57 -0400)
Change-Id: I59d8de76a5f06a7896fd8b70a661e5c329620c2e
Fixes: 28414350

packages/SystemUI/src/com/android/systemui/qs/QuickQSPanel.java

index a11a6e5..4accc8b 100644 (file)
@@ -112,11 +112,6 @@ public class QuickQSPanel extends QSPanel {
     }
 
     @Override
-    protected void onTileClick(QSTile<?> tile) {
-        tile.secondaryClick();
-    }
-
-    @Override
     public void onTuningChanged(String key, String newValue) {
         // No tunings for you.
         if (key.equals(QS_SHOW_BRIGHTNESS)) {
@@ -134,7 +129,7 @@ public class QuickQSPanel extends QSPanel {
                 break;
             }
         }
-        super.setTiles(quickTiles, true);
+        super.setTiles(quickTiles, false);
     }
 
     private final Tunable mNumTiles = new Tunable() {