导航菜单

页面标题

页面副标题

OLX India v19.42.007 - NotificationReceiver.java 源代码

正在查看: OLX India v19.42.007 应用的 NotificationReceiver.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.naspers.ragnarok.universal.ui.ui.notification;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;

@Metadata
public final class NotificationReceiver extends BroadcastReceiver {
    private final Lazy a = LazyKt.b(a.d);

    static final class a extends Lambda implements Function0 {
        public static final a d = new a();

        a() {
            super(0);
        }

        public final com.naspers.ragnarok.common.logging.a invoke() {
            return com.naspers.ragnarok.universal.ui.provider.a.c.a().X();
        }
    }

    public final com.naspers.ragnarok.common.logging.a a() {
        return (com.naspers.ragnarok.common.logging.a) this.a.getValue();
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        a().log("NotificationReceiver -> onReceive()");
        String action = intent.getAction();
        if (action == null) {
            action = "";
        }
        String stringExtra = intent.getStringExtra("type");
        if (Intrinsics.d(stringExtra, "multi_conversation")) {
            b.c.a().b(action, intent);
        } else if (Intrinsics.d(stringExtra, "single_conversation")) {
            i.d.a().b(action, intent);
        }
    }
}