mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-19 14:27:01 -04:00
🚚 use session install in full build flavor
After some testing it could determine that the session installer works withouth any hick-ups when target sdk is set to 28. I've successfully tested this build on android emulator 34 with an app that's targeting 33.
This commit is contained in:
committed by
Torsten Grote
parent
c12e02c396
commit
42c2eb4ee1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user