- 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
45 lines
1.7 KiB
Java
45 lines
1.7 KiB
Java
package com.google.android.gms.security;
|
|
|
|
import android.content.Context;
|
|
import android.os.AsyncTask;
|
|
import com.google.android.gms.common.GoogleApiAvailabilityLight;
|
|
import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
|
|
import com.google.android.gms.common.GooglePlayServicesRepairableException;
|
|
import com.google.android.gms.security.ProviderInstaller;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zza extends AsyncTask {
|
|
final /* synthetic */ Context zza;
|
|
final /* synthetic */ ProviderInstaller.ProviderInstallListener zzb;
|
|
|
|
public zza(Context context, ProviderInstaller.ProviderInstallListener providerInstallListener) {
|
|
this.zza = context;
|
|
this.zzb = providerInstallListener;
|
|
}
|
|
|
|
@Override // android.os.AsyncTask
|
|
public final /* bridge */ /* synthetic */ Object doInBackground(Object[] objArr) {
|
|
try {
|
|
ProviderInstaller.installIfNeeded(this.zza);
|
|
return 0;
|
|
} catch (GooglePlayServicesNotAvailableException e) {
|
|
return Integer.valueOf(e.errorCode);
|
|
} catch (GooglePlayServicesRepairableException e2) {
|
|
return Integer.valueOf(e2.getConnectionStatusCode());
|
|
}
|
|
}
|
|
|
|
@Override // android.os.AsyncTask
|
|
public final /* bridge */ /* synthetic */ void onPostExecute(Object obj) {
|
|
GoogleApiAvailabilityLight googleApiAvailabilityLight;
|
|
Integer num = (Integer) obj;
|
|
if (num.intValue() == 0) {
|
|
this.zzb.onProviderInstalled();
|
|
return;
|
|
}
|
|
Context context = this.zza;
|
|
googleApiAvailabilityLight = ProviderInstaller.zza;
|
|
this.zzb.onProviderInstallFailed(num.intValue(), googleApiAvailabilityLight.getErrorResolutionIntent(context, num.intValue(), "pi"));
|
|
}
|
|
}
|