Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java +7 −0 Original line number Diff line number Diff line Loading @@ -310,6 +310,7 @@ class QuickSettingsModel implements BluetoothStateChangeCallback, refreshBrightnessTile(); refreshRotationLockTile(); refreshRssiTile(); refreshLocationTile(); } // Settings Loading Loading @@ -582,6 +583,12 @@ class QuickSettingsModel implements BluetoothStateChangeCallback, mLocationCallback.refreshView(mLocationTile, mLocationState); } void refreshLocationTile() { if (mLocationTile != null) { onLocationSettingsChanged(mLocationState.enabled); } } @Override public void onLocationSettingsChanged(boolean locationEnabled) { int textResId = locationEnabled ? R.string.quick_settings_location_label Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java +7 −0 Original line number Diff line number Diff line Loading @@ -310,6 +310,7 @@ class QuickSettingsModel implements BluetoothStateChangeCallback, refreshBrightnessTile(); refreshRotationLockTile(); refreshRssiTile(); refreshLocationTile(); } // Settings Loading Loading @@ -582,6 +583,12 @@ class QuickSettingsModel implements BluetoothStateChangeCallback, mLocationCallback.refreshView(mLocationTile, mLocationState); } void refreshLocationTile() { if (mLocationTile != null) { onLocationSettingsChanged(mLocationState.enabled); } } @Override public void onLocationSettingsChanged(boolean locationEnabled) { int textResId = locationEnabled ? R.string.quick_settings_location_label Loading