diff --git a/app/src/main/java/com/owncloud/android/datamodel/OCFile.java b/app/src/main/java/com/owncloud/android/datamodel/OCFile.java index 4a1424d2178a..c6bba5ae2dc0 100644 --- a/app/src/main/java/com/owncloud/android/datamodel/OCFile.java +++ b/app/src/main/java/com/owncloud/android/datamodel/OCFile.java @@ -1053,7 +1053,7 @@ public void setE2eCounter(@Nullable Long e2eCounter) { } public boolean isAPKorAAB() { - if (BuildConfig.FLAVOR.equals("gplay")) { + if ("gplay".equals(BuildConfig.FLAVOR)) { return getFileName().endsWith(".apk") || getFileName().endsWith(".aab"); } else { return false;