mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
16 lines
860 B
Text
16 lines
860 B
Text
# Fix appcompat-v7 v21.0.0 causing crash on Samsung devices with Android v4.2.2 (https://code.google.com/p/android/issues/detail?id=78377)
|
|
-keep class !android.support.v7.internal.view.menu.MenuBuilder, !android.support.v7.internal.view.menu.SubMenuBuilder, android.support.v7.** { *; }
|
|
-keep interface android.support.v7.** { *; }
|
|
-keep class android.support.v7.internal.** { *; }
|
|
-keep interface android.support.v7.internal.** { *; }
|
|
-keep class android.support.v7.** { *; }
|
|
-keep interface android.support.v7.** { *; }
|
|
|
|
# Enable reflective access to mX509Certificate
|
|
-keepclassmembers class android.net.http.SslCertificate {
|
|
private final X509Certificate mX509Certificate;
|
|
}
|
|
|
|
# Disable code obfuscation.(http://stackoverflow.com/a/13877518)
|
|
-dontobfuscate
|
|
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
|