Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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 zzg implements DynamiteModule.VersionPolicy {
|
||||
zzg() {
|
||||
}
|
||||
|
||||
@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();
|
||||
int iZza = iVersions.zza(context, str);
|
||||
selectionResult.localVersion = iZza;
|
||||
if (iZza != 0) {
|
||||
selectionResult.selection = -1;
|
||||
} else {
|
||||
int iZzb = iVersions.zzb(context, str, true);
|
||||
selectionResult.remoteVersion = iZzb;
|
||||
if (iZzb != 0) {
|
||||
selectionResult.selection = 1;
|
||||
}
|
||||
}
|
||||
return selectionResult;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user