summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/qs/QSTile.java
diff options
context:
space:
mode:
authorAdrianDC <radian.dc@gmail.com>2015-11-29 10:47:48 +0100
committerRoman Birg <roman@cyngn.com>2015-11-30 09:17:33 -0800
commite4c0797ac0dc5ee3fe9abb34e5054390954061d0 (patch)
treed27ed1f135ae8e21362c1b33c20d2693940b6f80 /packages/SystemUI/src/com/android/systemui/qs/QSTile.java
parenta9cdd4ff38aed1fb1bac64caec97bfb0b72d0ce9 (diff)
downloadframeworks_base-e4c0797ac0dc5ee3fe9abb34e5054390954061d0.zip
frameworks_base-e4c0797ac0dc5ee3fe9abb34e5054390954061d0.tar.gz
frameworks_base-e4c0797ac0dc5ee3fe9abb34e5054390954061d0.tar.bz2
QuickSettings: Improve draggable tiles management
* Hide the carret on dual tiles that don't have details * Handle dual label clicks as primary for basic tiles * Fix the ripples management to avoid missing effects * Prevent a crash on wrong size array to add a tile Change-Id: I01471ea6e279b3437961c30bcfa922e9e0872388 Signed-off-by: AdrianDC <radian.dc@gmail.com>
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs/QSTile.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QSTile.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSTile.java b/packages/SystemUI/src/com/android/systemui/qs/QSTile.java
index 2a33c3a..da73e15 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/QSTile.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/QSTile.java
@@ -84,8 +84,8 @@ public abstract class QSTile<TState extends State> implements Listenable {
mHandler = new H(host.getLooper());
}
- public boolean supportsDualTargets() {
- return true;
+ public boolean hasDualTargetsDetails() {
+ return false;
}
public Host getHost() {