- 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
37 lines
993 B
Java
37 lines
993 B
Java
package androidx.privacysandbox.ads.adservices.internal;
|
|
|
|
import android.os.Build;
|
|
import android.os.ext.SdkExtensions;
|
|
import androidx.annotation.DoNotInline;
|
|
import androidx.annotation.RequiresApi;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class AdServicesInfo {
|
|
public static final AdServicesInfo INSTANCE = new AdServicesInfo();
|
|
|
|
private AdServicesInfo() {
|
|
}
|
|
|
|
public final int version() {
|
|
if (Build.VERSION.SDK_INT >= 30) {
|
|
return Extensions30Impl.INSTANCE.getAdServicesVersion();
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
@RequiresApi(30)
|
|
public static final class Extensions30Impl {
|
|
public static final Extensions30Impl INSTANCE = new Extensions30Impl();
|
|
|
|
private Extensions30Impl() {
|
|
}
|
|
|
|
@DoNotInline
|
|
public final int getAdServicesVersion() {
|
|
int extensionVersion;
|
|
extensionVersion = SdkExtensions.getExtensionVersion(1000000);
|
|
return extensionVersion;
|
|
}
|
|
}
|
|
}
|