diff --git a/app/src/main/java/org/fdroid/fdroid/installer/SessionInstallManager.java b/app/src/main/java/org/fdroid/fdroid/installer/SessionInstallManager.java index db2a4ce3f..a67160bde 100644 --- a/app/src/main/java/org/fdroid/fdroid/installer/SessionInstallManager.java +++ b/app/src/main/java/org/fdroid/fdroid/installer/SessionInstallManager.java @@ -19,7 +19,6 @@ import androidx.core.util.ObjectsCompat; import androidx.documentfile.provider.DocumentFile; import org.apache.commons.io.IOUtils; -import org.fdroid.fdroid.BuildConfig; import org.fdroid.fdroid.Utils; import org.fdroid.fdroid.data.Apk; import org.fdroid.fdroid.data.App; @@ -216,9 +215,6 @@ public class SessionInstallManager extends BroadcastReceiver { * Returns true if the {@link SessionInstaller} can be used on this device. */ public static boolean canBeUsed(Context context) { - // We could use the SessionInstaller also with the full flavor, - // but for now we limit it to basic to limit potential damage. - if (!BuildConfig.FLAVOR.equals("basic")) return false; // We could use the SessionInstaller also on lower versions, // but the benefit of unattended updates only starts with SDK 31. // Before the extra bugs it has aren't worth it.