Files
rr3-apk/decompiled-community/sources/com/google/android/gms/common/images/zae.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

76 lines
2.4 KiB
Java

package com.google.android.gms.common.images;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.widget.ImageView;
import androidx.annotation.Nullable;
import com.google.android.gms.common.internal.Asserts;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.internal.base.zak;
import com.google.android.gms.internal.base.zal;
import java.lang.ref.WeakReference;
/* loaded from: classes2.dex */
public final class zae extends zag {
private final WeakReference zac;
public zae(ImageView imageView, int i) {
super(Uri.EMPTY, i);
Asserts.checkNotNull(imageView);
this.zac = new WeakReference(imageView);
}
public final boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof zae)) {
return false;
}
ImageView imageView = (ImageView) this.zac.get();
ImageView imageView2 = (ImageView) ((zae) obj).zac.get();
return (imageView2 == null || imageView == null || !Objects.equal(imageView2, imageView)) ? false : true;
}
public final int hashCode() {
return 0;
}
@Override // com.google.android.gms.common.images.zag
public final void zaa(@Nullable Drawable drawable, boolean z, boolean z2, boolean z3) {
ImageView imageView = (ImageView) this.zac.get();
if (imageView != null) {
if (!z2 && !z3 && (imageView instanceof zal)) {
throw null;
}
boolean z4 = false;
if (!z2 && !z) {
z4 = true;
}
if (z4) {
Drawable drawable2 = imageView.getDrawable();
if (drawable2 == null) {
drawable2 = null;
} else if (drawable2 instanceof zak) {
drawable2 = ((zak) drawable2).zaa();
}
drawable = new zak(drawable2, drawable);
}
imageView.setImageDrawable(drawable);
if (imageView instanceof zal) {
throw null;
}
if (drawable == null || !z4) {
return;
}
((zak) drawable).zab(250);
}
}
public zae(ImageView imageView, Uri uri) {
super(uri, 0);
Asserts.checkNotNull(imageView);
this.zac = new WeakReference(imageView);
}
}