Files
rr3-apk/decompiled/sources/com/applovin/impl/sdk/array/ArrayDataCollector.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

57 lines
1.6 KiB
Java

package com.applovin.impl.sdk.array;
import androidx.annotation.Nullable;
import com.applovin.array.apphub.aidl.IAppHubService;
import com.applovin.impl.sdk.j;
import com.applovin.impl.sdk.n;
/* loaded from: classes2.dex */
public class ArrayDataCollector {
private static final String TAG = "ArrayService";
private final n logger;
private final j sdk;
public ArrayDataCollector(j jVar) {
this.sdk = jVar;
this.logger = jVar.J();
}
public long collectAppHubVersionCode(IAppHubService iAppHubService) {
try {
return iAppHubService.getAppHubVersionCode();
} catch (Throwable th) {
if (!n.a()) {
return -1L;
}
this.logger.a(TAG, "Failed to collect version code", th);
return -1L;
}
}
@Nullable
public Boolean collectDirectDownloadEnabled(IAppHubService iAppHubService) {
try {
return Boolean.valueOf(iAppHubService.getEnabledFeatures().getBoolean("DIRECT_DOWNLOAD"));
} catch (Throwable th) {
if (!n.a()) {
return null;
}
this.logger.a(TAG, "Failed to collect enabled features", th);
return null;
}
}
@Nullable
public String collectRandomUserToken(IAppHubService iAppHubService) {
try {
return iAppHubService.getRandomUserToken();
} catch (Throwable th) {
if (!n.a()) {
return null;
}
this.logger.a(TAG, "Failed to collect random user token", th);
return null;
}
}
}