Loading packages/SystemUI/src/com/android/systemui/qs/tiles/LocationTile.java +3 −0 Original line number Diff line number Diff line Loading @@ -101,6 +101,9 @@ public class LocationTile extends QSTileImpl<BooleanState> { // state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); state.value = locationEnabled; checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_SHARE_LOCATION); if (state.disabledByPolicy == false) { checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_CONFIG_LOCATION_MODE); } state.icon = mIcon; state.slash.isSlashed = !state.value; if (locationEnabled) { Loading Loading
packages/SystemUI/src/com/android/systemui/qs/tiles/LocationTile.java +3 −0 Original line number Diff line number Diff line Loading @@ -101,6 +101,9 @@ public class LocationTile extends QSTileImpl<BooleanState> { // state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); state.value = locationEnabled; checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_SHARE_LOCATION); if (state.disabledByPolicy == false) { checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_CONFIG_LOCATION_MODE); } state.icon = mIcon; state.slash.isSlashed = !state.value; if (locationEnabled) { Loading