- 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
105 lines
3.1 KiB
Java
105 lines
3.1 KiB
Java
package com.google.android.gms.common.internal;
|
|
|
|
import android.content.ComponentName;
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.net.Uri;
|
|
import android.os.Bundle;
|
|
import android.util.Log;
|
|
import androidx.annotation.Nullable;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzo {
|
|
private static final Uri zza = new Uri.Builder().scheme("content").authority("com.google.android.gms.chimera").build();
|
|
|
|
@Nullable
|
|
private final String zzb;
|
|
|
|
@Nullable
|
|
private final String zzc;
|
|
|
|
@Nullable
|
|
private final ComponentName zzd;
|
|
private final int zze;
|
|
private final boolean zzf;
|
|
|
|
public zzo(ComponentName componentName, int i) {
|
|
this.zzb = null;
|
|
this.zzc = null;
|
|
Preconditions.checkNotNull(componentName);
|
|
this.zzd = componentName;
|
|
this.zze = 4225;
|
|
this.zzf = false;
|
|
}
|
|
|
|
public final boolean equals(@Nullable Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof zzo)) {
|
|
return false;
|
|
}
|
|
zzo zzoVar = (zzo) obj;
|
|
return Objects.equal(this.zzb, zzoVar.zzb) && Objects.equal(this.zzc, zzoVar.zzc) && Objects.equal(this.zzd, zzoVar.zzd) && this.zzf == zzoVar.zzf;
|
|
}
|
|
|
|
public final int hashCode() {
|
|
return Objects.hashCode(this.zzb, this.zzc, this.zzd, 4225, Boolean.valueOf(this.zzf));
|
|
}
|
|
|
|
public final String toString() {
|
|
String str = this.zzb;
|
|
if (str != null) {
|
|
return str;
|
|
}
|
|
Preconditions.checkNotNull(this.zzd);
|
|
return this.zzd.flattenToString();
|
|
}
|
|
|
|
@Nullable
|
|
public final ComponentName zza() {
|
|
return this.zzd;
|
|
}
|
|
|
|
public final Intent zzb(Context context) {
|
|
Bundle bundle;
|
|
if (this.zzb == null) {
|
|
return new Intent().setComponent(this.zzd);
|
|
}
|
|
if (this.zzf) {
|
|
Bundle bundle2 = new Bundle();
|
|
bundle2.putString("serviceActionBundleKey", this.zzb);
|
|
try {
|
|
bundle = context.getContentResolver().call(zza, "serviceIntentCall", (String) null, bundle2);
|
|
} catch (IllegalArgumentException e) {
|
|
Log.w("ConnectionStatusConfig", "Dynamic intent resolution failed: ".concat(e.toString()));
|
|
bundle = null;
|
|
}
|
|
r2 = bundle != null ? (Intent) bundle.getParcelable("serviceResponseIntentKey") : null;
|
|
if (r2 == null) {
|
|
Log.w("ConnectionStatusConfig", "Dynamic lookup for intent failed for action: ".concat(String.valueOf(this.zzb)));
|
|
}
|
|
}
|
|
return r2 == null ? new Intent(this.zzb).setPackage(this.zzc) : r2;
|
|
}
|
|
|
|
@Nullable
|
|
public final String zzc() {
|
|
return this.zzc;
|
|
}
|
|
|
|
public zzo(String str, int i, boolean z) {
|
|
this(str, "com.google.android.gms", 4225, false);
|
|
}
|
|
|
|
public zzo(String str, String str2, int i, boolean z) {
|
|
Preconditions.checkNotEmpty(str);
|
|
this.zzb = str;
|
|
Preconditions.checkNotEmpty(str2);
|
|
this.zzc = str2;
|
|
this.zzd = null;
|
|
this.zze = 4225;
|
|
this.zzf = z;
|
|
}
|
|
}
|