Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 6c27c247 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Ensure form data is not optimized by proguard

parent fc3e24c0
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -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;
                    }
                });
    }
+5 −0
Original line number Diff line number Diff line
@@ -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 {