Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[locker] Let R8 shrink Android dependencies

laurenspriemd974ab5d9daa
diff --git a/mobile/apps/locker/android/app/proguard-rules.pro b/mobile/apps/locker/android/app/proguard-rules.pro
index 37a4cbccf0..c1d4e930cc 100644
--- a/mobile/apps/locker/android/app/proguard-rules.pro
+++ b/mobile/apps/locker/android/app/proguard-rules.pro
@@ -1,18 +1,3 @@
# Keep error_prone annotations
-dontwarn com.google.errorprone.annotations.**
-dontnote com.google.errorprone.annotations.**
-
-# Keep all annotations
--keepattributes *Annotation*
-
-# Keep Tink crypto library classes
--keep class com.google.crypto.tink.** { *; }
--dontwarn com.google.crypto.tink.**
-
-# Keep Sodium crypto library classes
--keep class com.goterl.lazysodium.** { *; }
--dontwarn com.goterl.lazysodium.**
-
-# Keep Ente crypto classes
--keep class io.ente.** { *; }
--dontwarn io.ente.**