导航菜单

页面标题

页面副标题

Biko v2.0.23 - HeadsUpNotificationActionReceiver.java 源代码

正在查看: Biko v2.0.23 应用的 HeadsUpNotificationActionReceiver.java JAVA 源代码文件

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


package app.callpe.common.utils.receivers;

import android.content.Context;
import android.content.Intent;
import app.callpe.common.utils.Constants;
import app.callpe.common.utils.extensions.BroadcastExtKt;
import app.callpe.data.model.VideoDetailModel;
import app.callpe.service.ApiService;
import app.callpe.ui.call.RtcScreenHandler;
import com.appsflyer.AppsFlyerProperties;
import com.facebook.internal.NativeProtocol;
import com.google.gson.Gson;
import dagger.hilt.android.AndroidEntryPoint;
import javax.inject.Inject;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0007\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J=\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u000e2\b\u0010\u0010\u001a\u0004\u0018\u00010\u00112\b\u0010\u0012\u001a\u0004\u0018\u00010\u0013H\u0002¢\u0006\u0002\u0010\u0014J\u0018\u0010\u0015\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\u0016\u001a\u00020\u0017H\u0016J+\u0010\u0018\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\u0019\u001a\u00020\u000e2\b\u0010\u0012\u001a\u0004\u0018\u00010\u000eH\u0082@ø\u0001\u0000¢\u0006\u0002\u0010\u001aR\u001e\u0010\u0003\u001a\u00020\u00048\u0006@\u0006X\u0087.¢\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\u001b"}, d2 = {"Lapp/callpe/common/utils/receivers/HeadsUpNotificationActionReceiver;", "Landroid/content/BroadcastReceiver;", "()V", "apiService", "Lapp/callpe/service/ApiService;", "getApiService", "()Lapp/callpe/service/ApiService;", "setApiService", "(Lapp/callpe/service/ApiService;)V", "gotoVideoActivity", "", "context", "Landroid/content/Context;", AppsFlyerProperties.CHANNEL, "", "accessToken", "videoId", "", "data", "Lapp/callpe/data/model/VideoDetailModel;", "(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lapp/callpe/data/model/VideoDetailModel;)V", "onReceive", "intent", "Landroid/content/Intent;", "performClickAction", NativeProtocol.WEB_DIALOG_ACTION, "(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "app_bikoRelease"}, k = 1, mv = {1, 8, 0}, xi = 48)
@AndroidEntryPoint
public final class HeadsUpNotificationActionReceiver extends Hilt_HeadsUpNotificationActionReceiver {

    @Inject
    public ApiService apiService;

    public final ApiService getApiService() {
        ApiService apiService = this.apiService;
        if (apiService != null) {
            return apiService;
        }
        Intrinsics.throwUninitializedPropertyAccessException("apiService");
        return null;
    }

    public final void setApiService(ApiService apiService) {
        Intrinsics.checkNotNullParameter(apiService, "<set-?>");
        this.apiService = apiService;
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        super.onReceive(context, intent);
        Intrinsics.checkNotNullParameter(context, "context");
        Intrinsics.checkNotNullParameter(intent, "intent");
        BroadcastExtKt.goAsync$default(this, null, new HeadsUpNotificationActionReceiver$onReceive$1(intent, context, this, null), 1, null);
    }

    public final java.lang.Object performClickAction(android.content.Context r7, java.lang.String r8, java.lang.String r9, kotlin.coroutines.Continuation<? super kotlin.Unit> r10) {
        throw new UnsupportedOperationException("Method not decompiled: app.callpe.common.utils.receivers.HeadsUpNotificationActionReceiver.performClickAction(android.content.Context, java.lang.String, java.lang.String, kotlin.coroutines.Continuation):java.lang.Object");
    }

    private final void gotoVideoActivity(Context context, String channel, String accessToken, Long videoId, VideoDetailModel data) {
        Intent rtcScreenIntent = RtcScreenHandler.getRtcScreenIntent(context, RtcScreenHandler.getRtcScreenType$default(null, 1, null));
        rtcScreenIntent.putExtra(Constants.KEY_CALLING_CHANNEL, channel);
        rtcScreenIntent.setFlags(335544320);
        rtcScreenIntent.putExtra(Constants.KEY_CALLING_VIDEO_ID, videoId);
        rtcScreenIntent.putExtra(Constants.KEY_AGORA_ACCESS_TOKEN, accessToken);
        rtcScreenIntent.putExtra(Constants.FCM_DATA, new Gson().toJson(data));
        context.getApplicationContext().startActivity(rtcScreenIntent);
    }
}