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

Commit 3c550884 authored by Steve McKay's avatar Steve McKay
Browse files

Handle null uris in content changed events.

Bug: 28244958
Change-Id: Id3a7adb0ab4a751cfcf6ed3fee4cc6337ce512bb
parent ee6c0c72
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());
        }