package com.appsflyer;

import X.7lW;
import android.content.Context;
import com.appsflyer.internal.bq;
import com.bytedance.covode.number.Covode;
import com.google.firebase.messaging.FirebaseMessagingService;

public class FirebaseMessagingServiceListener extends FirebaseMessagingService {
    static {
        Covode.recordClassIndex(2555);
    }

    public static Context INVOKEVIRTUAL_com_appsflyer_FirebaseMessagingServiceListener_com_ss_android_ugc_aweme_lancet_launch_ApplicationContextLancet_getApplicationContext(Context context) {
        Context applicationContext = context.getApplicationContext();
        if (7lW.LIZJ && applicationContext == null) {
            return 7lW.LIZ;
        }
        return applicationContext;
    }

    /* JADX WARNING: type inference failed for: r2v0, types: [android.content.Context, com.appsflyer.FirebaseMessagingServiceListener] */
    public void onNewToken(String str) {
        new bq(INVOKEVIRTUAL_com_appsflyer_FirebaseMessagingServiceListener_com_ss_android_ugc_aweme_lancet_launch_ApplicationContextLancet_getApplicationContext(this)).values(str);
    }
}
