-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different generated code for console and gui version #430
Comments
And one more thing in the same class public void withActivity(com.contextlogic.wish.activity.BaseFragment.ActivityTask<A> activityTask) {
com.contextlogic.wish.activity.BaseActivity baseActivity = getBaseActivity(); // returns A
if (baseActivity != null) {
activityTask.performTask(baseActivity);
}
} shouldn't class C42772 implements com.contextlogic.wish.activity.BaseFragment.ActivityTask<com.contextlogic.wish.activity.webview.WebViewActivity> {
public void performTask(com.contextlogic.wish.activity.webview.WebViewActivity webViewActivity) {
//...
}
} so the parameter type is not |
I made a fix. The root of the problem is #336. There I made a rename of method wrapped by the synthetic method to restore its original name in some cases. In this app such renaming was done in method .method public final synthetic getLifecycleActivity()Landroid/app/Activity;
.locals 1
invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/zzcc;->getActivity()Landroid/support/v4/app/FragmentActivity;
move-result-object v0
return-object v0
.end method and About different type: you are right there must be public abstract class BaseFragment<A extends com.contextlogic.wish.activity.BaseActivity> extends android.support.v4.app.Fragment { so |
Hi, I run jadx with the following arguments
and get method in
com.contextlogic.wish.activity.BaseFragment
but gui version with generates correct code
APK: https://drive.google.com/file/d/1Eit8ZcYI9OTboOnDCA3cil_6E6gkqxN-/view?usp=sharing
The text was updated successfully, but these errors were encountered: