Skip to content

Commit 095dae1

Browse files
committed
android: exclude MDM classes from ProGuard optimizations
Updates tailscale/corp#22797 Signed-off-by: Anton Tolchanov <[email protected]>
1 parent 1958172 commit 095dae1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

android/proguard-rules.pro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
native <methods>;
44
}
55

6+
# Keep the classes with syspolicy MDM keys, some of which
7+
# get used only by the Go backend.
8+
-keep class com.tailscale.ipn.mdm.** { *; }
9+
610
# Keep specific classes from Tink library
711
-keep class com.google.crypto.tink.** { *; }
812

@@ -18,4 +22,4 @@
1822

1923
# Keep Joda-Time classes
2024
-keep class org.joda.time.** { *; }
21-
-dontwarn org.joda.time.**
25+
-dontwarn org.joda.time.**

0 commit comments

Comments
 (0)