mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
android: Update progard to fix settings crash
R8 full mode was removing important classes from Wini that would cause a crash on saving settings. This keeps the relevant classes and suppresses warnings about irrelevant ones.
This commit is contained in:
parent
117bc2ae6c
commit
1c9dae7cac
1 changed files with 8 additions and 0 deletions
8
src/android/app/proguard-rules.pro
vendored
8
src/android/app/proguard-rules.pro
vendored
|
@ -1,6 +1,11 @@
|
||||||
# To get usable stack traces
|
# To get usable stack traces
|
||||||
-dontobfuscate
|
-dontobfuscate
|
||||||
|
|
||||||
|
# Prevents crashing when using Wini
|
||||||
|
-keep class org.ini4j.spi.IniParser
|
||||||
|
-keep class org.ini4j.spi.IniBuilder
|
||||||
|
-keep class org.ini4j.spi.IniFormatter
|
||||||
|
|
||||||
# Suppress warnings for R8
|
# Suppress warnings for R8
|
||||||
-dontwarn org.bouncycastle.jsse.BCSSLParameters
|
-dontwarn org.bouncycastle.jsse.BCSSLParameters
|
||||||
-dontwarn org.bouncycastle.jsse.BCSSLSocket
|
-dontwarn org.bouncycastle.jsse.BCSSLSocket
|
||||||
|
@ -11,3 +16,6 @@
|
||||||
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
|
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
|
||||||
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
|
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
|
||||||
-dontwarn org.openjsse.net.ssl.OpenJSSE
|
-dontwarn org.openjsse.net.ssl.OpenJSSE
|
||||||
|
-dontwarn java.beans.Introspector
|
||||||
|
-dontwarn java.beans.VetoableChangeListener
|
||||||
|
-dontwarn java.beans.VetoableChangeSupport
|
||||||
|
|
Loading…
Reference in a new issue