From e69e5f87b3227bddc1315234218717ba3e8439c1 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Wed, 10 Dec 2014 17:24:18 -0500 Subject: Add config to handle periodic check of tether provision While here also update QS to handle the changes made for this new check. Bug: 18453076 Change-Id: I1f6e2d954562c5a16a0de60dac625005ec3e5c50 --- packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'packages/SystemUI/src/com/android/systemui/qs') 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 6e710ef..fcc517f 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java @@ -88,9 +88,7 @@ public class HotspotTile extends QSTile { @Override protected void handleUpdateState(BooleanState state, Object arg) { - state.visible = mController.isHotspotSupported() && mUsageTracker.isRecentlyUsed() - && !(mController.isProvisioningNeeded() && mKeyguard.isSecure() - && mKeyguard.isShowing()); + state.visible = mController.isHotspotSupported() && mUsageTracker.isRecentlyUsed(); state.label = mContext.getString(R.string.quick_settings_hotspot_label); state.value = mController.isHotspotEnabled(); -- cgit v1.1