mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-10-14 16:59:40 +02:00
Ensure form data is not optimized by proguard
This commit is contained in:
parent
fc3e24c0ea
commit
6c27c2474e
@ -308,7 +308,12 @@ public class LoginActivity extends AssistantActivity {
|
||||
|
||||
@Override
|
||||
public void onException(Exception exception) {
|
||||
Log.w(TAG, "onException: " + exception);
|
||||
Log.w(TAG, "onException", exception);
|
||||
runOnUiThread(() -> {
|
||||
showError(R.string.auth_general_error_desc);
|
||||
setNextButtonText(android.R.string.ok);
|
||||
});
|
||||
state = -2;
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -339,7 +344,12 @@ public class LoginActivity extends AssistantActivity {
|
||||
|
||||
@Override
|
||||
public void onException(Exception exception) {
|
||||
Log.w(TAG, "onException: " + exception);
|
||||
Log.w(TAG, "onException", exception);
|
||||
runOnUiThread(() -> {
|
||||
showError(R.string.auth_general_error_desc);
|
||||
setNextButtonText(android.R.string.ok);
|
||||
});
|
||||
state = -2;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -33,6 +33,11 @@
|
||||
@org.microg.safeparcel.SafeParceled *;
|
||||
}
|
||||
|
||||
# Keep form data
|
||||
-keepclassmembers class * {
|
||||
@org.microg.gms.common.HttpFormClient$* *;
|
||||
}
|
||||
|
||||
# Keep asInterface method cause it's accessed from SafeParcel
|
||||
-keepattributes InnerClasses
|
||||
-keepclassmembers interface * extends android.os.IInterface {
|
||||
|
Loading…
Reference in New Issue
Block a user