mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
use N12 for minimum
warn if older than NC14 Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
dbad1aa991
commit
96f4ba8c5a
1 changed files with 8 additions and 10 deletions
|
@ -37,7 +37,11 @@ import android.os.Environment;
|
|||
import android.os.StrictMode;
|
||||
import android.text.TextUtils;
|
||||
import android.view.WindowManager;
|
||||
|
||||
import androidx.annotation.RequiresApi;
|
||||
import androidx.annotation.StringRes;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.core.util.Pair;
|
||||
import androidx.multidex.MultiDexApplication;
|
||||
import com.evernote.android.job.JobManager;
|
||||
import com.evernote.android.job.JobRequest;
|
||||
import com.nextcloud.client.preferences.AppPreferences;
|
||||
|
@ -69,6 +73,7 @@ import com.owncloud.android.utils.FilesSyncHelper;
|
|||
import com.owncloud.android.utils.PermissionUtil;
|
||||
import com.owncloud.android.utils.ReceiversHelper;
|
||||
import com.owncloud.android.utils.SecurityUtils;
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.ArrayList;
|
||||
|
@ -77,13 +82,6 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import androidx.annotation.RequiresApi;
|
||||
import androidx.annotation.StringRes;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.core.util.Pair;
|
||||
import androidx.multidex.MultiDexApplication;
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
|
||||
import static com.owncloud.android.ui.activity.ContactsPreferenceActivity.PREFERENCE_CONTACTS_AUTOMATIC_BACKUP;
|
||||
|
||||
|
||||
|
@ -95,8 +93,8 @@ import static com.owncloud.android.ui.activity.ContactsPreferenceActivity.PREFER
|
|||
*/
|
||||
public class MainApp extends MultiDexApplication {
|
||||
|
||||
public static final OwnCloudVersion OUTDATED_SERVER_VERSION = OwnCloudVersion.nextcloud_12;
|
||||
public static final OwnCloudVersion MINIMUM_SUPPORTED_SERVER_VERSION = OwnCloudVersion.nextcloud_10;
|
||||
public static final OwnCloudVersion OUTDATED_SERVER_VERSION = OwnCloudVersion.nextcloud_14;
|
||||
public static final OwnCloudVersion MINIMUM_SUPPORTED_SERVER_VERSION = OwnCloudVersion.nextcloud_12;
|
||||
|
||||
private static final String TAG = MainApp.class.getSimpleName();
|
||||
|
||||
|
|
Loading…
Reference in a new issue