android: exclude MDM classes from ProGuard optimizations

Updates tailscale/corp#22797

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
pull/490/head
Anton Tolchanov 2 months ago committed by Anton Tolchanov
parent 19581721cf
commit 095dae1195

@ -3,6 +3,10 @@
native <methods>;
}
# Keep the classes with syspolicy MDM keys, some of which
# get used only by the Go backend.
-keep class com.tailscale.ipn.mdm.** { *; }
# Keep specific classes from Tink library
-keep class com.google.crypto.tink.** { *; }
@ -18,4 +22,4 @@
# Keep Joda-Time classes
-keep class org.joda.time.** { *; }
-dontwarn org.joda.time.**
-dontwarn org.joda.time.**

Loading…
Cancel
Save