package com.appsflyer;

import com.appsflyer.internal.d;
import com.appsflyer.internal.s;
import com.google.firebase.messaging.FirebaseMessagingService;

public class FirebaseMessagingServiceListener extends FirebaseMessagingService {
    /* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: com.appsflyer.FirebaseMessagingServiceListener */
    /* JADX WARN: Multi-variable type inference failed */
    public void onNewToken(String str) {
        FirebaseMessagingServiceListener.super.onNewToken(str);
        long currentTimeMillis = System.currentTimeMillis();
        if (str != null) {
            AFLogger.afInfoLog("Firebase Refreshed Token = ".concat(str));
            d.C0329d.C0330d r2 = d.C0329d.C0330d.m1223(AppsFlyerProperties.getInstance().getString("afUninstallToken"));
            d.C0329d.C0330d dVar = new d.C0329d.C0330d(currentTimeMillis, str);
            if (r2.m1225(dVar.f2071, dVar.f2072)) {
                s.d.m1241(getApplicationContext(), dVar.f2072);
            }
        }
    }
}
