导航菜单

页面标题

页面副标题

MX Player v1.97.8 - AllChannelsActivity.java 源代码

正在查看: MX Player v1.97.8 应用的 AllChannelsActivity.java JAVA 源代码文件

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


package com.mxtech.videoplayer.ad.online.live;

import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import androidx.fragment.app.FragmentManager;
import com.microsoft.identity.common.java.cache.CacheKeyValueDelegate;
import com.mxtech.videoplayer.ad.online.features.more.OnlineFlowEntranceActivity;
import com.mxtech.videoplayer.ad.online.features.search.SearchActivity;
import com.mxtech.videoplayer.ad.online.model.bean.next.MoreStyleResourceFlow;
import com.mxtech.videoplayer.ad.online.model.bean.next.OnlineResource;
import com.mxtech.videoplayer.ad.online.model.bean.next.ResourceFlow;
import com.mxtech.videoplayer.ad.online.model.bean.next.ResourceStyle;
import defpackage.gl0;
import defpackage.i0g;
import defpackage.l4;
import defpackage.uy;

public class AllChannelsActivity extends OnlineFlowEntranceActivity {
    public static final int E = 0;

    @Override
    public final int e6() {
        return i0g.b().h("exo_live_tv_activity_theme");
    }

    @Override
    public final void init() {
        ResourceFlow resourceFlow = (ResourceFlow) getIntent().getSerializableExtra("resource");
        if (resourceFlow == null) {
            finish();
            return;
        }
        if (resourceFlow instanceof MoreStyleResourceFlow) {
            resourceFlow.setStyle(((MoreStyleResourceFlow) resourceFlow).getMoreStyle());
        }
        FragmentManager supportFragmentManager = getSupportFragmentManager();
        OnlineResource onlineResource = (OnlineResource) getIntent().getSerializableExtra("fromTab");
        getIntent().getBooleanExtra("loadMoreDisabled", false);
        getIntent().getBooleanExtra("swipeToRefresh", false);
        this.y = getIntent().getBooleanExtra("isFromSearch", false);
        this.z = (OnlineResource) getIntent().getSerializableExtra("container");
        this.s = getX().newAndPush(pzh.r(resourceFlow));
        if (this.y) {
            u6();
            l6(resourceFlow.getName() + CacheKeyValueDelegate.CACHE_VALUE_SEPARATOR + swd.f().getString("currentSearchKey", ""));
        } else {
            l6(getResources().getString(2131886307));
        }
        resourceFlow.setStyle(ResourceStyle.COLUMNx4_CIRCLE);
        boolean z = this.y;
        resourceFlow.setResourceList(null);
        uy uyVar = new uy();
        Bundle bundle = new Bundle();
        if (onlineResource != null) {
            bundle.putSerializable("fromTab", onlineResource);
        }
        bundle.putBoolean("moreOrSeasonVideoList", true);
        l4.k9(bundle, resourceFlow, true, false);
        bundle.putBoolean("isFromSearch", z);
        uyVar.setArguments(bundle);
        supportFragmentManager.getClass();
        androidx.fragment.app.a aVar = new androidx.fragment.app.a(supportFragmentManager);
        aVar.g(2131363585, uyVar, (String) null);
        aVar.j(true);
    }

    @Override
    public final boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(2131623964, menu);
        gl0.c(this, menu);
        return true;
    }

    @Override
    public final boolean onOptionsItemSelected(MenuItem menuItem) {
        if (menuItem.getItemId() != 2131361877) {
            return super.onOptionsItemSelected(menuItem);
        }
        SearchActivity.H6(this, getX(), "list");
        return true;
    }

    @Override
    public final boolean s6() {
        return false;
    }

    @Override
    public final String t6() {
        return null;
    }
}