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

Commit 1d5d7375 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am 5134d711: am 574352a7: am aa8cac86: Merge "frameworks/base: release...

am 5134d711: am 574352a7: am aa8cac86: Merge "frameworks/base: release references of UriPermissionOwner"

* commit '5134d711':
  frameworks/base: release references of UriPermissionOwner
parents f978979d 5134d711
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -59,11 +59,11 @@ class UriPermission {
        if ((modeFlagsToClear&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) {
            globalModeFlags &= ~Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
            modeFlags &= ~Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
            if (readOwners.size() > 0) {
            if (writeOwners.size() > 0) {
                for (UriPermissionOwner r : writeOwners) {
                    r.removeWritePermission(this);
                }
                readOwners.clear();
                writeOwners.clear();
            }
        }
    }