package com.appsflyer.internal;

import android.content.Context;
import com.appsflyer.AFLogger;
import com.huawei.hms.pps.AdvertisingIdClient;

public final class ag {
    /* renamed from: ˏ  reason: contains not printable characters */
    public static String m1187(Context context) {
        try {
            return AdvertisingIdClient.getAdvertisingIdInfo(context).getId();
        } catch (Exception unused) {
            AFLogger.afDebugLog("Error collecting OAID.");
            return null;
        }
    }

    /* renamed from: ॱ  reason: contains not printable characters */
    public static boolean m1189(Context context) {
        try {
            return AdvertisingIdClient.getAdvertisingIdInfo(context).isLimitAdTrackingEnabled();
        } catch (Exception unused) {
            return false;
        }
    }

    /* renamed from: ˏ  reason: contains not printable characters */
    public static boolean m1188() {
        try {
            Class.forName("com.huawei.hms.pps.AdvertisingIdClient");
            return true;
        } catch (Throwable unused) {
            AFLogger.afDebugLog("OAID Jar not found.");
            return false;
        }
    }
}
