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

Commit b046c236 authored by David-Development's avatar David-Development Committed by David Luhmer
Browse files

fix broken detection of dev app



Signed-off-by: default avatarDavid Luhmer <david-dev@live.de>
parent 07a82323
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -59,16 +59,10 @@ public final class VersionCheckHelper {

            // Stable Files App is not installed at all. Therefore we need to run the test on the dev app
            try {
                final int verCode = getNextcloudFilesVersionCode(context, type);
                final int verCode = getNextcloudFilesVersionCode(context, FilesAppType.DEV);
                // The dev app follows a different versioning schema.. therefore we can't do our normal checks
                // However beta users are probably always up to date so we will just ignore it for now
                Log.d(TAG, "Dev files app version is: " + verCode);
                /*
                if (verCode < minVersion) {
                    UiExceptionManager.showDialogForException(activity, new NextcloudFilesAppNotSupportedException());
                    return false;
                }
                */
                return true;
            } catch (PackageManager.NameNotFoundException ex) {
                Log.e(TAG, "PackageManager.NameNotFoundException (dev files app not found): " + e.getMessage());