summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/qs
diff options
context:
space:
mode:
authorSanket Padawe <sanketpadawe@google.com>2014-12-01 18:14:40 -0800
committerSanket Padawe <sanketpadawe@google.com>2014-12-01 18:14:40 -0800
commit63224c39543688fd7eea62fe0238d1b32daf5d30 (patch)
treee15997f57283437e02436e8a71abdeb7310c092c /packages/SystemUI/src/com/android/systemui/qs
parent8ccf071ab83510c8ef7b4d311d894d5c4a352f6c (diff)
downloadframeworks_base-63224c39543688fd7eea62fe0238d1b32daf5d30.zip
frameworks_base-63224c39543688fd7eea62fe0238d1b32daf5d30.tar.gz
frameworks_base-63224c39543688fd7eea62fe0238d1b32daf5d30.tar.bz2
Call entitlement on clicking tethering tile in quick settings.
Call a new activity which would handle enabling of tethering on clicking Tethering tile in Quick Settings. Bug: 18368949 Change-Id: I4cc2ba01f6fa1ac005ba1dc27b223b5fc5359d35
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java3
1 files changed, 1 insertions, 2 deletions
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 bccc753..9744dca 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java
@@ -85,8 +85,7 @@ public class HotspotTile extends QSTile<QSTile.BooleanState> {
@Override
protected void handleUpdateState(BooleanState state, Object arg) {
- state.visible = mController.isHotspotSupported() && mUsageTracker.isRecentlyUsed()
- && !mController.isProvisioningNeeded();
+ state.visible = mController.isHotspotSupported() && mUsageTracker.isRecentlyUsed();
state.label = mContext.getString(R.string.quick_settings_hotspot_label);
state.value = mController.isHotspotEnabled();