From 90f4a1c4030342a04b5bd88e36b79fff7322679d Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Wed, 10 Jul 2024 14:25:01 +0200 Subject: [PATCH] Gplay: do not allow to download APK/AAB Signed-off-by: tobiasKaminsky --- app/src/main/java/com/owncloud/android/datamodel/OCFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;