Open bagipro opened 4 years ago
@skylot May you please also fix this one too?
@sergey-wowwow I commit a fix, hope it will resolve some cases.
@skylot
I've noticed a different error. Class com.ebay.mobile.common.RefineContentFragment
/* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: boolean */
/* JADX WARN: Multi-variable type inference failed */
private void setRefineVisible(boolean z) {
if (this.isRefineEnabled) {
this.refineButton.setVisibility(z != 0 ? 0 : 8); // <<< should be only "z ? 0 : 8"
this.drawerLayout.setDrawerLockMode(!z);
}
}
@sergey-wowwow thanks!
@skylot
And one more thing in kotlinx.coroutines.CompletedExceptionally
private volatile int _handled;
/* JADX WARN: Type inference failed for: r0v0, types: [int, boolean] */
public final boolean getHandled() {
return this._handled;
}
@sergey-wowwow yeah, this time it is int
to boolean
conversion :facepalm:
@skylot And a few more invalid operations.
Class com.ebay.common.view.DefaultItemAdapter
/* JADX DEBUG: Multi-variable search result rejected for r6v3, resolved type: boolean */
/* JADX DEBUG: Multi-variable search result rejected for r6v4, resolved type: boolean */
/* JADX WARN: Multi-variable type inference failed */
/* access modifiers changed from: protected */
public boolean setCurrencyWithBaseUnitPriceAuctionWithBin(android.widget.TextView textView, com.ebay.nautilus.domain.data.ItemCurrency itemCurrency, com.ebay.nautilus.domain.data.ItemCurrency itemCurrency2, com.ebay.nautilus.domain.data.ItemCurrency itemCurrency3, com.ebay.nautilus.domain.data.ItemCurrency itemCurrency4, boolean z, Item item) {
com.ebay.nautilus.domain.data.ItemCurrency convertedPrice;
com.ebay.nautilus.domain.data.ItemCurrency convertedPrice2 = getConvertedPrice(itemCurrency, itemCurrency2);
android.text.Spannable spannable = null;
spannable = null;
spannable = null;
if (convertedPrice2 != null) {
int i = 1;
i = 1;
boolean z2 = !convertedPrice2.code.equals(itemCurrency.code);
java.lang.String formatCurrency = formatCurrency(convertedPrice2.value, convertedPrice2.code, z2 | 2); // invalid operation on boolean `z2 | 2`
if (!(z2 == 0 || formatCurrency == null)) { // also invalid operation `z2 == 0`
Class com.ebay.nautilus.shell.databinding.UxcompDiscoverySelectionCapsuleBindingImpl
/* access modifiers changed from: protected */
@Override // androidx.databinding.ViewDataBinding
public void executeBindings() {
long j;
boolean z;
boolean z2;
java.lang.String str;
synchronized (this) {
j = this.mDirtyFlags;
this.mDirtyFlags = 0;
}
com.ebay.nautilus.shell.uxcomponents.viewmodel.SelectionViewModel selectionViewModel = this.mUxContent;
int i = ((j & 11) > 0 ? 1 : ((j & 11) == 0 ? 0 : -1));
java.lang.CharSequence charSequence = null;
charSequence = null;
boolean z3 = false;
z3 = false;
if (i != 0) {
androidx.databinding.ObservableBoolean observableBoolean = selectionViewModel != null ? selectionViewModel.isSelected : null;
updateRegistration(0, observableBoolean);
if (observableBoolean != null) {
z3 = observableBoolean.get();
}
if (i != 0) {
j |= z3 ? 32 : 16;
}
boolean z4 = !z3 ? 1 : 0; // invalid assignment
if ((j & 10) == 0 || selectionViewModel == null) {
z = z4;
str = null;
} else {
charSequence = selectionViewModel.getTitle();
str = selectionViewModel.getTitleContentDescription();
z = z4;
}
z2 = z3 ? 1 : 0; // invalid assignment
Hi, a small test case for the issue in
kotlin.NumbersKt__NumbersKt
APK: https://drive.google.com/file/d/1ICfL4A22K-KhVkw5RwvWdLJA8111iYvG/view?usp=sharing