commit | 28680c61c9b4a617c3a9470e630179b861f0bc20 | [log] [tgz] |
---|---|---|
author | Jason Monk <jmonk@google.com> | Tue Apr 19 09:31:20 2016 -0400 |
committer | Jason Monk <jmonk@google.com> | Tue Apr 19 09:49:28 2016 -0400 |
tree | 0694cb6c4ad0899d5a6477e914a60ee0f59f8f1f | |
parent | 3da3d7f455761b73309bf5a02bef5eba816df5cd [diff] [blame] |
No QS hotspot unless supported Fixes: 27438917 Change-Id: Iadeee5a87ebb9b881e04ac706547004e186215ea
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java index bf5b22c..25a3eff 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java
@@ -43,6 +43,11 @@ } @Override + public boolean isAvailable() { + return mController.isHotspotSupported(); + } + + @Override protected void handleDestroy() { super.handleDestroy(); }