diff options
author | Jason Monk <jmonk@google.com> | 2014-12-10 17:24:18 -0500 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2014-12-11 15:14:51 -0500 |
commit | e69e5f87b3227bddc1315234218717ba3e8439c1 (patch) | |
tree | b39de38c07099a297418cf7caa627fd4c79def55 /packages/SystemUI/src/com/android/systemui/qs | |
parent | c5c93edd9354e956d9b0a4d85fc8372907e2b011 (diff) | |
download | frameworks_base-e69e5f87b3227bddc1315234218717ba3e8439c1.zip frameworks_base-e69e5f87b3227bddc1315234218717ba3e8439c1.tar.gz frameworks_base-e69e5f87b3227bddc1315234218717ba3e8439c1.tar.bz2 |
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
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java | 4 |
1 files changed, 1 insertions, 3 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 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<QSTile.BooleanState> { @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(); |