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

Commit 7c0f0b51 authored by Mario Đanić's avatar Mario Đanić Committed by GitHub
Browse files

Merge branch 'master' into bruteforce

parents 5ff61fcc bd2a8a00
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -62,6 +62,8 @@ public class OwnCloudVersion implements Comparable<OwnCloudVersion> {

    public static final int MINIMUM_VERSION_FOR_SEARCH_API = 0x0C000000;

    public static final int MINIMUM_VERSION_FOR_WEB_LOGIN = 0x0C000000;

    private static final int MAX_DOTS = 3;

    // format is in version
@@ -179,4 +181,7 @@ public class OwnCloudVersion implements Comparable<OwnCloudVersion> {
        return (mVersion >= MINIMUM_VERSION_FOR_SEARCH_API);
    }

    public boolean isWebLoginSupported() {
        return mVersion >= MINIMUM_VERSION_FOR_WEB_LOGIN;
    }
}