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

Commit 71983fa1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix NPE in UriPermissions." into udc-dev am: d86a3857 am: 6b79d2a9

parents 87fc4693 6b79d2a9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -207,8 +207,10 @@ final class UriPermission {
            if (mReadOwners != null && includingOwners) {
                ownedModeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION;
                for (UriPermissionOwner r : mReadOwners) {
                    if (r != null) {
                        r.removeReadPermission(this);
                    }
                }
                mReadOwners = null;
            }
        }