导航菜单

页面标题

页面副标题

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

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

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


package com.mxtech.musicwidget;

import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Context;
import android.os.Bundle;
import android.widget.RemoteViews;
import com.mxtech.musicwidget.b;
import defpackage.tya;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;

@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lcom/mxtech/musicwidget/MusicPlayerWidgetSingleRow;", "Lcom/mxtech/musicwidget/a;", "<init>", "()V", "Player_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
public final class MusicPlayerWidgetSingleRow extends a {
    @Override
    @NotNull
    public final Class<?> a() {
        return MusicPlayerWidgetSingleRow.class;
    }

    @Override
    public final int b(Bundle bundle) {
        return 2131560608;
    }

    @Override
    public final void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, int i, Bundle bundle) {
        super.onAppWidgetOptionsChanged(context, appWidgetManager, i, bundle);
        if ((bundle != null ? Integer.valueOf(bundle.getInt("appWidgetMinHeight")) : null).intValue() < 65) {
            Object obj = b.e;
            b a = b.a.a();
            a.getClass();
            tya tyaVar = tya.m;
            AppWidgetManager appWidgetManager2 = AppWidgetManager.getInstance(tyaVar);
            for (Class<? extends a> cls : a.d) {
                int[] appWidgetIds = AppWidgetManager.getInstance(tyaVar).getAppWidgetIds(new ComponentName(tyaVar, cls));
                if (appWidgetIds.length != 0) {
                    RemoteViews remoteViews = new RemoteViews(tyaVar.getPackageName(), b.c(cls));
                    remoteViews.setInt(2131366978, "setVisibility", 4);
                    appWidgetManager2.partiallyUpdateAppWidget(appWidgetIds, remoteViews);
                }
            }
        }
    }

    @Override
    public final void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] iArr) {
        super.onUpdate(context, appWidgetManager, iArr);
        do2.p0("classicSmall");
    }
}