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

Commit 4ada11b2 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 7537076 from 15d7968b to sc-d1-release

Change-Id: I90a35b23a4ff94eadce4d5bba1021a3e329add07
parents b6fc6af8 15d7968b
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line 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.
     * Whether the calling app should be restricted in Storage Access Framework or not.
     */
     */
    public static boolean shouldRestrictStorageAccessFramework(Activity activity) {
    public static boolean shouldRestrictStorageAccessFramework(Activity activity) {
        if (VersionUtils.isAtLeastS()) {
            return true;
        }

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