summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/qs
diff options
context:
space:
mode:
authorSanket Padawe <sanketpadawe@google.com>2014-12-03 01:33:42 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-12-03 01:33:43 +0000
commitb13c12f58db3026ad30849873b3b6fc664f5ce7b (patch)
treec3084f503722fce3c5633eff2dcd97cf9c1272b7 /packages/SystemUI/src/com/android/systemui/qs
parentd6e9e61c9d9b7ba88ae7ade0418e17a3ac2ef341 (diff)
parent63224c39543688fd7eea62fe0238d1b32daf5d30 (diff)
downloadframeworks_base-b13c12f58db3026ad30849873b3b6fc664f5ce7b.zip
frameworks_base-b13c12f58db3026ad30849873b3b6fc664f5ce7b.tar.gz
frameworks_base-b13c12f58db3026ad30849873b3b6fc664f5ce7b.tar.bz2
Merge "Call entitlement on clicking tethering tile in quick settings." into lmp-mr1-dev
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();