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

Commit 5eec6124 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 7537202 from 376b7867 to sc-v2-release

Change-Id: If8c76e89d868fe17dcc7a3cdfcfc6229a2a87cbe
parents f76535b4 376b7867
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -171,6 +171,10 @@ public final class Shared {
     * Whether the calling app should be restricted in Storage Access Framework or not.
     */
    public static boolean shouldRestrictStorageAccessFramework(Activity activity) {
        if (VersionUtils.isAtLeastS()) {
            return true;
        }

        if (!VersionUtils.isAtLeastR()) {
            return false;
        }