mirror of https://github.com/YTVanced/VancedMicroG
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
|
@Override
|
||||||
public void onException(Exception exception) {
|
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
|
@Override
|
||||||
public void onException(Exception exception) {
|
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 *;
|
@org.microg.safeparcel.SafeParceled *;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Keep form data
|
||||||
|
-keepclassmembers class * {
|
||||||
|
@org.microg.gms.common.HttpFormClient$* *;
|
||||||
|
}
|
||||||
|
|
||||||
# Keep asInterface method cause it's accessed from SafeParcel
|
# Keep asInterface method cause it's accessed from SafeParcel
|
||||||
-keepattributes InnerClasses
|
-keepattributes InnerClasses
|
||||||
-keepclassmembers interface * extends android.os.IInterface {
|
-keepclassmembers interface * extends android.os.IInterface {
|
||||||
|
|
Loading…
Reference in New Issue