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

Commit 6cf28bc0 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Flag guard the quarantined apps screen" into main

parents c1e33f50 f2f29ab2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.settings.development.quarantine;

import android.app.Application;
import android.content.Context;
import android.content.pm.Flags;
import android.content.pm.PackageManager;
import android.content.pm.SuspendDialogInfo;
import android.os.UserHandle;
@@ -198,7 +199,7 @@ public class QuarantinedAppsScreenController extends BasePreferenceController im

    @Override
    public int getAvailabilityStatus() {
        return AVAILABLE;
        return Flags.quarantinedEnabled() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
    }

    @Override