Loading packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java +6 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,12 @@ public class SettingsProvider extends ContentProvider { String notify = uri.getQueryParameter("notify"); if (notify == null || "true".equals(notify)) { final int notifyTarget = isGlobal ? UserHandle.USER_ALL : userHandle; final long oldId = Binder.clearCallingIdentity(); try { getContext().getContentResolver().notifyChange(uri, null, true, notifyTarget); } finally { Binder.restoreCallingIdentity(oldId); } if (LOCAL_LOGV) Log.v(TAG, "notifying for " + notifyTarget + ": " + uri); } else { if (LOCAL_LOGV) Log.v(TAG, "notification suppressed: " + uri); Loading Loading
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java +6 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,12 @@ public class SettingsProvider extends ContentProvider { String notify = uri.getQueryParameter("notify"); if (notify == null || "true".equals(notify)) { final int notifyTarget = isGlobal ? UserHandle.USER_ALL : userHandle; final long oldId = Binder.clearCallingIdentity(); try { getContext().getContentResolver().notifyChange(uri, null, true, notifyTarget); } finally { Binder.restoreCallingIdentity(oldId); } if (LOCAL_LOGV) Log.v(TAG, "notifying for " + notifyTarget + ": " + uri); } else { if (LOCAL_LOGV) Log.v(TAG, "notification suppressed: " + uri); Loading