Loading packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java +10 −5 Original line number Diff line number Diff line Loading @@ -2754,12 +2754,17 @@ public class SettingsProvider extends ContentProvider { mGenerationRegistry.incrementGeneration(key); if (isGlobalSettingsKey(key)) { final long token = Binder.clearCallingIdentity(); try { if (Global.LOCATION_GLOBAL_KILL_SWITCH.equals(name)) { // When the global kill switch is updated, send the // change notification for the location setting. notifyLocationChangeForRunningUsers(); } notifyGlobalSettingChangeForRunningUsers(key, name); } finally { Binder.restoreCallingIdentity(token); } } else { final int userId = getUserIdFromKey(key); final Uri uri = getNotificationUriFor(key, name); Loading Loading
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java +10 −5 Original line number Diff line number Diff line Loading @@ -2754,12 +2754,17 @@ public class SettingsProvider extends ContentProvider { mGenerationRegistry.incrementGeneration(key); if (isGlobalSettingsKey(key)) { final long token = Binder.clearCallingIdentity(); try { if (Global.LOCATION_GLOBAL_KILL_SWITCH.equals(name)) { // When the global kill switch is updated, send the // change notification for the location setting. notifyLocationChangeForRunningUsers(); } notifyGlobalSettingChangeForRunningUsers(key, name); } finally { Binder.restoreCallingIdentity(token); } } else { final int userId = getUserIdFromKey(key); final Uri uri = getNotificationUriFor(key, name); Loading