Initial version -- added millennium read funcionality

This commit is contained in:
Pablo
2026-03-09 22:05:28 +01:00
commit 77c2ded482
2770 changed files with 141927 additions and 0 deletions
@@ -0,0 +1,42 @@
package com.google.android.gms.dynamite;
import android.content.Context;
import com.google.android.gms.dynamite.DynamiteModule;
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
/* JADX INFO: loaded from: classes2.dex */
final class zzj implements DynamiteModule.VersionPolicy {
zzj() {
}
@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 {
int iZzb;
DynamiteModule.VersionPolicy.SelectionResult selectionResult = new DynamiteModule.VersionPolicy.SelectionResult();
int iZza = iVersions.zza(context, str);
selectionResult.localVersion = iZza;
int i = 1;
int i2 = 0;
if (iZza != 0) {
iZzb = iVersions.zzb(context, str, false);
selectionResult.remoteVersion = iZzb;
} else {
iZzb = iVersions.zzb(context, str, true);
selectionResult.remoteVersion = iZzb;
}
int i3 = selectionResult.localVersion;
if (i3 == 0) {
if (iZzb == 0) {
i = 0;
}
selectionResult.selection = i;
return selectionResult;
}
i2 = i3;
if (i2 >= iZzb) {
i = -1;
}
selectionResult.selection = i;
return selectionResult;
}
}