Loading packages/SystemUI/src/com/android/systemui/qs/tiles/LocationTile.java +5 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,11 @@ public class LocationTile extends QSTile<QSTile.BooleanState> { @Override protected void handleUpdateState(BooleanState state, Object arg) { final boolean locationEnabled = mController.isLocationEnabled(); state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); // Work around for bug 15916487: don't show location tile on top of lock screen. After the // bug is fixed, this should be reverted to only hiding it on secure lock screens: // state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); state.visible = !mKeyguard.isShowing(); state.value = locationEnabled; if (locationEnabled) { state.iconId = R.drawable.ic_qs_location_on; Loading Loading
packages/SystemUI/src/com/android/systemui/qs/tiles/LocationTile.java +5 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,11 @@ public class LocationTile extends QSTile<QSTile.BooleanState> { @Override protected void handleUpdateState(BooleanState state, Object arg) { final boolean locationEnabled = mController.isLocationEnabled(); state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); // Work around for bug 15916487: don't show location tile on top of lock screen. After the // bug is fixed, this should be reverted to only hiding it on secure lock screens: // state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); state.visible = !mKeyguard.isShowing(); state.value = locationEnabled; if (locationEnabled) { state.iconId = R.drawable.ic_qs_location_on; Loading