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

Commit 7d333ce1 authored by Steve McKay's avatar Steve McKay Committed by android-build-merger
Browse files

Merge "Handle null uris in content changed events." into nyc-dev am: 00c9815d

am: a7f5e8a2

* commit 'a7f5e8a2':
  Handle null uris in content changed events.

Change-Id: Ida7759d2f8aa502f674831d530f8c62b9afe5e12
parents f6f4014b a7f5e8a2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -110,6 +110,10 @@ public class RootsCache {

        @Override
        public void onChange(boolean selfChange, Uri uri) {
            if (uri == null) {
                Log.w(TAG, "Received onChange event for null uri. Skipping.");
                return;
            }
            if (DEBUG) Log.d(TAG, "Updating roots due to change at " + uri);
            updateAuthorityAsync(uri.getAuthority());
        }