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

Commit c7c215c6 authored by Takamasa Kuramitsu's avatar Takamasa Kuramitsu Committed by android-build-merger
Browse files

Merge "Fix the other app's scoped directory permissions are revoked" am: c7f7267e

am: d7558462

Change-Id: I12dee90d1c0ad225ef506d5309cd92aba7f935dc
parents 978e6981 d7558462
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -494,7 +494,7 @@ public class ScopedAccessProvider extends ContentProvider {
            context.grantUriPermission(toPackage, grantedUri, grantFlags);
            cr.takePersistableUriPermission(toPackage, grantedUri, persistFlags);
        } else {
            context.revokeUriPermission(grantedUri, grantFlags);
            context.revokeUriPermission(toPackage, grantedUri, grantFlags);
            // There's no need to release after revoking
        }
    }