- 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
31 lines
1.2 KiB
Java
31 lines
1.2 KiB
Java
package com.google.android.gms.dynamite;
|
|
|
|
import android.content.Context;
|
|
import com.google.android.gms.dynamite.DynamiteModule;
|
|
|
|
/* loaded from: classes2.dex */
|
|
final class zzk implements DynamiteModule.VersionPolicy {
|
|
@Override // com.google.android.gms.dynamite.DynamiteModule.VersionPolicy
|
|
public final DynamiteModule.VersionPolicy.SelectionResult selectModule(Context context, String str, DynamiteModule.VersionPolicy.IVersions iVersions) throws DynamiteModule.LoadingException {
|
|
DynamiteModule.VersionPolicy.SelectionResult selectionResult = new DynamiteModule.VersionPolicy.SelectionResult();
|
|
selectionResult.localVersion = iVersions.zza(context, str);
|
|
int i = 1;
|
|
int zzb = iVersions.zzb(context, str, true);
|
|
selectionResult.remoteVersion = zzb;
|
|
int i2 = selectionResult.localVersion;
|
|
if (i2 == 0) {
|
|
i2 = 0;
|
|
if (zzb == 0) {
|
|
i = 0;
|
|
selectionResult.selection = i;
|
|
return selectionResult;
|
|
}
|
|
}
|
|
if (zzb < i2) {
|
|
i = -1;
|
|
}
|
|
selectionResult.selection = i;
|
|
return selectionResult;
|
|
}
|
|
}
|