Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8e83002 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Merge "Catch exception when notifying Settings changes." into oc-mr1-dev am: e791b5e7

am: 1cc9e613

Change-Id: I65f602d86c0dcd0368f94d1ba2bd4c3ca3fe61a2
parents c12b2c2b 1cc9e613
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2878,7 +2878,11 @@ public class SettingsProvider extends ContentProvider {
                    case MSG_NOTIFY_URI_CHANGED: {
                        final int userId = msg.arg1;
                        Uri uri = (Uri) msg.obj;
                        try {
                            getContext().getContentResolver().notifyChange(uri, null, true, userId);
                        } catch (SecurityException e) {
                            Slog.w(LOG_TAG, "Failed to notify for " + userId + ": " + uri, e);
                        }
                        if (DEBUG) {
                            Slog.v(LOG_TAG, "Notifying for " + userId + ": " + uri);
                        }