导航菜单

页面标题

页面副标题

Starpresta v4.0.3 - i00iI0i.java 源代码

正在查看: Starpresta v4.0.3 应用的 i00iI0i.java JAVA 源代码文件

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


package i00i0I;

import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.drawable.Icon;
import android.media.AudioAttributes;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.SpannableStringBuilder;
import android.text.style.ForegroundColorSpan;
import android.util.Log;
import android.widget.RemoteViews;
import androidx.core.graphics.drawable.IconCompat;
import i00iii.i000IIi0;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;

public class i00iI0i {

    public static class IiiI00i {

        public int f27836IiiI;

        public final Bundle f27837IiiI00i;

        public IconCompat f27838IiiI0I0;

        public final i000000[] f27839IiiI0II;

        public final i000000[] f27840IiiI0Ii;

        public boolean f27841IiiI0i;

        public boolean f27842IiiI0i0;

        public final int f27843IiiI0iI;

        public final boolean f27844IiiI0ii;

        public CharSequence f27845IiiII0;

        public PendingIntent f27846IiiII0I;

        public boolean f27847IiiII0i;

        public static final class C0114IiiI00i {

            public boolean f27848IiiI;

            public final IconCompat f27849IiiI00i;

            public final CharSequence f27850IiiI0I0;

            public final PendingIntent f27851IiiI0II;

            public boolean f27852IiiI0Ii;

            public ArrayList f27853IiiI0i;

            public final Bundle f27854IiiI0i0;

            public int f27855IiiI0iI;

            public boolean f27856IiiI0ii;

            public boolean f27857IiiII0;

            public C0114IiiI00i(IconCompat iconCompat, CharSequence charSequence, PendingIntent pendingIntent) {
                this(iconCompat, charSequence, pendingIntent, new Bundle(), null, true, 0, true, false, false);
            }

            public IiiI00i IiiI00i() {
                IiiI0I0();
                ArrayList arrayList = new ArrayList();
                ArrayList arrayList2 = new ArrayList();
                ArrayList arrayList3 = this.f27853IiiI0i;
                if (arrayList3 != null) {
                    Iterator it = arrayList3.iterator();
                    if (it.hasNext()) {
                        IiiIIii.IiiIII.IiiI00i(it.next());
                        throw null;
                    }
                }
                return new IiiI00i(this.f27849IiiI00i, this.f27850IiiI0I0, this.f27851IiiI0II, this.f27854IiiI0i0, arrayList2.isEmpty() ? null : (i000000[]) arrayList2.toArray(new i000000[arrayList2.size()]), arrayList.isEmpty() ? null : (i000000[]) arrayList.toArray(new i000000[arrayList.size()]), this.f27852IiiI0Ii, this.f27855IiiI0iI, this.f27856IiiI0ii, this.f27848IiiI, this.f27857IiiII0);
            }

            public final void IiiI0I0() {
                if (this.f27848IiiI && this.f27851IiiI0II == null) {
                    throw new NullPointerException("Contextual Actions must contain a valid PendingIntent");
                }
            }

            public C0114IiiI00i(IconCompat iconCompat, CharSequence charSequence, PendingIntent pendingIntent, Bundle bundle, i000000[] i000000VarArr, boolean z, int i, boolean z2, boolean z3, boolean z4) {
                this.f27852IiiI0Ii = true;
                this.f27856IiiI0ii = true;
                this.f27849IiiI00i = iconCompat;
                this.f27850IiiI0I0 = IiiI.IiiI0Ii(charSequence);
                this.f27851IiiI0II = pendingIntent;
                this.f27854IiiI0i0 = bundle;
                this.f27853IiiI0i = i000000VarArr == null ? null : new ArrayList(Arrays.asList(i000000VarArr));
                this.f27852IiiI0Ii = z;
                this.f27855IiiI0iI = i;
                this.f27856IiiI0ii = z2;
                this.f27848IiiI = z3;
                this.f27857IiiII0 = z4;
            }
        }

        public IiiI00i(int i, CharSequence charSequence, PendingIntent pendingIntent) {
            this(i != 0 ? IconCompat.IiiI0Ii(null, "", i) : null, charSequence, pendingIntent);
        }

        public boolean IiiI() {
            return this.f27847IiiII0i;
        }

        public PendingIntent IiiI00i() {
            return this.f27846IiiII0I;
        }

        public boolean IiiI0I0() {
            return this.f27842IiiI0i0;
        }

        public Bundle IiiI0II() {
            return this.f27837IiiI00i;
        }

        public IconCompat IiiI0Ii() {
            int i;
            if (this.f27838IiiI0I0 == null && (i = this.f27836IiiI) != 0) {
                this.f27838IiiI0I0 = IconCompat.IiiI0Ii(null, "", i);
            }
            return this.f27838IiiI0I0;
        }

        public int IiiI0i() {
            return this.f27843IiiI0iI;
        }

        public i000000[] IiiI0i0() {
            return this.f27839IiiI0II;
        }

        public boolean IiiI0iI() {
            return this.f27841IiiI0i;
        }

        public CharSequence IiiI0ii() {
            return this.f27845IiiII0;
        }

        public boolean IiiII0() {
            return this.f27844IiiI0ii;
        }

        public IiiI00i(IconCompat iconCompat, CharSequence charSequence, PendingIntent pendingIntent) {
            this(iconCompat, charSequence, pendingIntent, new Bundle(), null, null, true, 0, true, false, false);
        }

        public IiiI00i(IconCompat iconCompat, CharSequence charSequence, PendingIntent pendingIntent, Bundle bundle, i000000[] i000000VarArr, i000000[] i000000VarArr2, boolean z, int i, boolean z2, boolean z3, boolean z4) {
            this.f27841IiiI0i = true;
            this.f27838IiiI0I0 = iconCompat;
            if (iconCompat != null && iconCompat.IiiI0ii() == 2) {
                this.f27836IiiI = iconCompat.IiiI0i();
            }
            this.f27845IiiII0 = IiiI.IiiI0Ii(charSequence);
            this.f27846IiiII0I = pendingIntent;
            this.f27837IiiI00i = bundle == null ? new Bundle() : bundle;
            this.f27839IiiI0II = i000000VarArr;
            this.f27840IiiI0Ii = i000000VarArr2;
            this.f27842IiiI0i0 = z;
            this.f27843IiiI0iI = i;
            this.f27841IiiI0i = z2;
            this.f27844IiiI0ii = z3;
            this.f27847IiiII0i = z4;
        }
    }

    public static class IiiI0I0 extends IiiII0I {

        public boolean f27858IiiI;

        public IconCompat f27859IiiI0i;

        public IconCompat f27860IiiI0i0;

        public boolean f27861IiiI0iI;

        public CharSequence f27862IiiI0ii;

        public static class IiiI00i {
            public static void IiiI00i(Notification.BigPictureStyle bigPictureStyle, Icon icon) {
                bigPictureStyle.bigLargeIcon(icon);
            }
        }

        public static class C0115IiiI0I0 {
            public static void IiiI00i(Notification.BigPictureStyle bigPictureStyle, Icon icon) {
                bigPictureStyle.bigPicture(icon);
            }

            public static void IiiI0I0(Notification.BigPictureStyle bigPictureStyle, CharSequence charSequence) {
                bigPictureStyle.setContentDescription(charSequence);
            }

            public static void IiiI0II(Notification.BigPictureStyle bigPictureStyle, boolean z) {
                bigPictureStyle.showBigPictureWhenCollapsed(z);
            }
        }

        public IiiI0I0 IiiI(Bitmap bitmap) {
            this.f27860IiiI0i0 = bitmap == null ? null : IconCompat.IiiI0I0(bitmap);
            return this;
        }

        @Override
        public void IiiI0I0(ii000i ii000iVar) {
            Notification.BigPictureStyle bigContentTitle = new Notification.BigPictureStyle(ii000iVar.IiiI00i()).setBigContentTitle(this.f27874IiiI0I0);
            IconCompat iconCompat = this.f27860IiiI0i0;
            if (iconCompat != null) {
                if (Build.VERSION.SDK_INT >= 31) {
                    C0115IiiI0I0.IiiI00i(bigContentTitle, this.f27860IiiI0i0.IiiIII(ii000iVar instanceof i0iiIIi ? ((i0iiIIi) ii000iVar).IiiI0i() : null));
                } else if (iconCompat.IiiI0ii() == 1) {
                    bigContentTitle = bigContentTitle.bigPicture(this.f27860IiiI0i0.IiiI0i0());
                }
            }
            if (this.f27861IiiI0iI) {
                if (this.f27859IiiI0i == null) {
                    bigContentTitle.bigLargeIcon((Bitmap) null);
                } else {
                    IiiI00i.IiiI00i(bigContentTitle, this.f27859IiiI0i.IiiIII(ii000iVar instanceof i0iiIIi ? ((i0iiIIi) ii000iVar).IiiI0i() : null));
                }
            }
            if (this.f27876IiiI0Ii) {
                bigContentTitle.setSummaryText(this.f27875IiiI0II);
            }
            if (Build.VERSION.SDK_INT >= 31) {
                C0115IiiI0I0.IiiI0II(bigContentTitle, this.f27858IiiI);
                C0115IiiI0I0.IiiI0I0(bigContentTitle, this.f27862IiiI0ii);
            }
        }

        @Override
        public String IiiI0II() {
            return "androidx.core.app.NotificationCompat$BigPictureStyle";
        }

        public IiiI0I0 IiiI0ii(Bitmap bitmap) {
            this.f27859IiiI0i = bitmap == null ? null : IconCompat.IiiI0I0(bitmap);
            this.f27861IiiI0iI = true;
            return this;
        }
    }

    public static class IiiI0II extends IiiII0I {

        public CharSequence f27863IiiI0i0;

        @Override
        public void IiiI00i(Bundle bundle) {
            super.IiiI00i(bundle);
        }

        @Override
        public void IiiI0I0(ii000i ii000iVar) {
            Notification.BigTextStyle bigText = new Notification.BigTextStyle(ii000iVar.IiiI00i()).setBigContentTitle(this.f27874IiiI0I0).bigText(this.f27863IiiI0i0);
            if (this.f27876IiiI0Ii) {
                bigText.setSummaryText(this.f27875IiiI0II);
            }
        }

        @Override
        public String IiiI0II() {
            return "androidx.core.app.NotificationCompat$BigTextStyle";
        }

        public IiiI0II IiiI0ii(CharSequence charSequence) {
            this.f27863IiiI0i0 = IiiI.IiiI0Ii(charSequence);
            return this;
        }
    }

    public static final class IiiI0i {
        public static Notification.BubbleMetadata IiiI00i(IiiI0i iiiI0i) {
            return null;
        }
    }

    @Deprecated
    public i00iI0i() {
    }

    public static Bundle IiiI00i(Notification notification) {
        return notification.extras;
    }

    public static Bitmap IiiI0I0(Context context, Bitmap bitmap) {
        if (bitmap == null || Build.VERSION.SDK_INT >= 27) {
            return bitmap;
        }
        Resources resources = context.getResources();
        int dimensionPixelSize = resources.getDimensionPixelSize(i00Iii.i00Ii0.f27654IiiI0I0);
        int dimensionPixelSize2 = resources.getDimensionPixelSize(i00Iii.i00Ii0.f27653IiiI00i);
        if (bitmap.getWidth() <= dimensionPixelSize && bitmap.getHeight() <= dimensionPixelSize2) {
            return bitmap;
        }
        double min = Math.min(dimensionPixelSize / Math.max(1, bitmap.getWidth()), dimensionPixelSize2 / Math.max(1, bitmap.getHeight()));
        return Bitmap.createScaledBitmap(bitmap, (int) Math.ceil(bitmap.getWidth() * min), (int) Math.ceil(bitmap.getHeight() * min), true);
    }

    public static class IiiI {

        public RemoteViews f27789IiiI;

        public Context f27790IiiI00i;

        public ArrayList f27791IiiI0I0;

        public ArrayList f27792IiiI0II;

        public ArrayList f27793IiiI0Ii;

        public CharSequence f27794IiiI0i;

        public CharSequence f27795IiiI0i0;

        public PendingIntent f27796IiiI0iI;

        public PendingIntent f27797IiiI0ii;

        public IconCompat f27798IiiII0;

        public CharSequence f27799IiiII0I;

        public int f27800IiiII0i;

        public boolean f27801IiiIII;

        public int f27802IiiIII0;

        public boolean f27803IiiIIII;

        public IiiII0I f27804IiiIIIi;

        public CharSequence f27805IiiIIi;

        public CharSequence f27806IiiIIi0;

        public CharSequence[] f27807IiiIIii;

        public boolean f27808IiiIi;

        public int f27809IiiIi0;

        public int f27810IiiIi00;

        public boolean f27811IiiIi0I;

        public String f27812IiiIi0i;

        public boolean f27813IiiIiI;

        public String f27814IiiIiI0;

        public boolean f27815IiiIiII;

        public String f27816IiiIii;

        public boolean f27817IiiIii0;

        public Bundle f27818IiiIiiI;

        public int f27819IiiIiii;

        public int f27820Iiii;

        public RemoteViews f27821Iiii0;

        public int f27822Iiii000;

        public Notification f27823Iiii00I;

        public RemoteViews f27824Iiii00i;

        public RemoteViews f27825Iiii0I0;

        public String f27826Iiii0II;

        public String f27827Iiii0i;

        public int f27828Iiii0i0;

        public long f27829Iiii0iI;

        public int f27830Iiii0ii;

        public Object f27831IiiiI;

        public Notification f27832IiiiI0;

        public boolean f27833IiiiI00;

        public boolean f27834IiiiI0I;

        public ArrayList f27835IiiiII0;

        public static class IiiI00i {
            public static AudioAttributes IiiI00i(AudioAttributes.Builder builder) {
                return builder.build();
            }

            public static AudioAttributes.Builder IiiI0I0() {
                return new AudioAttributes.Builder();
            }

            public static AudioAttributes.Builder IiiI0II(AudioAttributes.Builder builder, int i) {
                return builder.setContentType(i);
            }

            public static AudioAttributes.Builder IiiI0Ii(AudioAttributes.Builder builder, int i) {
                return builder.setLegacyStreamType(i);
            }

            public static AudioAttributes.Builder IiiI0i0(AudioAttributes.Builder builder, int i) {
                return builder.setUsage(i);
            }
        }

        public IiiI(Context context, String str) {
            this.f27791IiiI0I0 = new ArrayList();
            this.f27792IiiI0II = new ArrayList();
            this.f27793IiiI0Ii = new ArrayList();
            this.f27801IiiIII = true;
            this.f27813IiiIiI = false;
            this.f27819IiiIiii = 0;
            this.f27822Iiii000 = 0;
            this.f27828Iiii0i0 = 0;
            this.f27830Iiii0ii = 0;
            this.f27820Iiii = 0;
            Notification notification = new Notification();
            this.f27832IiiiI0 = notification;
            this.f27790IiiI00i = context;
            this.f27826Iiii0II = str;
            notification.when = System.currentTimeMillis();
            this.f27832IiiiI0.audioStreamType = -1;
            this.f27802IiiIII0 = 0;
            this.f27835IiiiII0 = new ArrayList();
            this.f27833IiiiI00 = true;
        }

        public static CharSequence IiiI0Ii(CharSequence charSequence) {
            return charSequence == null ? charSequence : charSequence.length() > 5120 ? charSequence.subSequence(0, 5120) : charSequence;
        }

        public IiiI IiiI(CharSequence charSequence) {
            this.f27794IiiI0i = IiiI0Ii(charSequence);
            return this;
        }

        public IiiI IiiI00i(int i, CharSequence charSequence, PendingIntent pendingIntent) {
            this.f27791IiiI0I0.add(new IiiI00i(i, charSequence, pendingIntent));
            return this;
        }

        public Notification IiiI0I0() {
            return new i0iiIIi(this).IiiI0II();
        }

        public Bundle IiiI0II() {
            if (this.f27818IiiIiiI == null) {
                this.f27818IiiIiiI = new Bundle();
            }
            return this.f27818IiiIiiI;
        }

        public IiiI IiiI0i(String str) {
            this.f27826Iiii0II = str;
            return this;
        }

        public IiiI IiiI0i0(boolean z) {
            IiiIII0(16, z);
            return this;
        }

        public IiiI IiiI0iI(int i) {
            this.f27819IiiIiii = i;
            return this;
        }

        public IiiI IiiI0ii(PendingIntent pendingIntent) {
            this.f27796IiiI0iI = pendingIntent;
            return this;
        }

        public IiiI IiiII0(CharSequence charSequence) {
            this.f27795IiiI0i0 = IiiI0Ii(charSequence);
            return this;
        }

        public IiiI IiiII0I(int i) {
            Notification notification = this.f27832IiiiI0;
            notification.defaults = i;
            if ((i & 4) != 0) {
                notification.flags |= 1;
            }
            return this;
        }

        public IiiI IiiII0i(PendingIntent pendingIntent) {
            this.f27832IiiiI0.deleteIntent = pendingIntent;
            return this;
        }

        public IiiI IiiIII(Bitmap bitmap) {
            this.f27798IiiII0 = bitmap == null ? null : IconCompat.IiiI0I0(i00iI0i.IiiI0I0(this.f27790IiiI00i, bitmap));
            return this;
        }

        public final void IiiIII0(int i, boolean z) {
            if (z) {
                Notification notification = this.f27832IiiiI0;
                notification.flags = i | notification.flags;
            } else {
                Notification notification2 = this.f27832IiiiI0;
                notification2.flags = (~i) & notification2.flags;
            }
        }

        public IiiI IiiIIII(int i, int i2, int i3) {
            Notification notification = this.f27832IiiiI0;
            notification.ledARGB = i;
            notification.ledOnMS = i2;
            notification.ledOffMS = i3;
            notification.flags = ((i2 == 0 || i3 == 0) ? 0 : 1) | (notification.flags & (-2));
            return this;
        }

        public IiiI IiiIIIi(boolean z) {
            this.f27813IiiIiI = z;
            return this;
        }

        public IiiI IiiIIi(int i) {
            this.f27802IiiIII0 = i;
            return this;
        }

        public IiiI IiiIIi0(int i) {
            this.f27800IiiII0i = i;
            return this;
        }

        public IiiI IiiIIii(boolean z) {
            this.f27801IiiIII = z;
            return this;
        }

        public IiiI IiiIi(long[] jArr) {
            this.f27832IiiiI0.vibrate = jArr;
            return this;
        }

        public IiiI IiiIi0(Uri uri) {
            Notification notification = this.f27832IiiiI0;
            notification.sound = uri;
            notification.audioStreamType = -1;
            AudioAttributes.Builder IiiI0i02 = IiiI00i.IiiI0i0(IiiI00i.IiiI0II(IiiI00i.IiiI0I0(), 4), 5);
            this.f27832IiiiI0.audioAttributes = IiiI00i.IiiI00i(IiiI0i02);
            return this;
        }

        public IiiI IiiIi00(int i) {
            this.f27832IiiiI0.icon = i;
            return this;
        }

        public IiiI IiiIi0I(IiiII0I iiiII0I) {
            if (this.f27804IiiIIIi != iiiII0I) {
                this.f27804IiiIIIi = iiiII0I;
                if (iiiII0I != null) {
                    iiiII0I.IiiI0iI(this);
                }
            }
            return this;
        }

        public IiiI IiiIi0i(CharSequence charSequence) {
            this.f27832IiiiI0.tickerText = IiiI0Ii(charSequence);
            return this;
        }

        public IiiI IiiIiI(long j) {
            this.f27832IiiiI0.when = j;
            return this;
        }

        public IiiI IiiIiI0(int i) {
            this.f27822Iiii000 = i;
            return this;
        }

        public IiiI(Context context) {
            this(context, null);
        }
    }

    public static class IiiII0 extends IiiII0I {

        public boolean f27864IiiI;

        public PendingIntent f27865IiiI0i;

        public int f27866IiiI0i0;

        public PendingIntent f27867IiiI0iI;

        public PendingIntent f27868IiiI0ii;

        public Integer f27869IiiII0;

        public Integer f27870IiiII0I;

        public IconCompat f27871IiiII0i;

        public CharSequence f27872IiiIII0;

        public static class IiiI00i {
            public static Notification.Builder IiiI00i(Notification.Builder builder, String str) {
                return builder.addPerson(str);
            }

            public static Notification.Builder IiiI0I0(Notification.Builder builder, String str) {
                return builder.setCategory(str);
            }
        }

        public final String IiiI() {
            int i = this.f27866IiiI0i0;
            if (i == 1) {
                return this.f27873IiiI00i.f27790IiiI00i.getResources().getString(i00Iii.i00iI0i.f27663IiiI0i0);
            }
            if (i == 2) {
                return this.f27873IiiI00i.f27790IiiI00i.getResources().getString(i00Iii.i00iI0i.f27662IiiI0i);
            }
            if (i != 3) {
                return null;
            }
            return this.f27873IiiI00i.f27790IiiI00i.getResources().getString(i00Iii.i00iI0i.f27664IiiI0iI);
        }

        @Override
        public void IiiI00i(Bundle bundle) {
            super.IiiI00i(bundle);
            bundle.putInt("android.callType", this.f27866IiiI0i0);
            bundle.putBoolean("android.callIsVideo", this.f27864IiiI);
            IconCompat iconCompat = this.f27871IiiII0i;
            if (iconCompat != null) {
                bundle.putParcelable("android.verificationIcon", IiiI0I0.IiiI00i(iconCompat.IiiIII(this.f27873IiiI00i.f27790IiiI00i)));
            }
            bundle.putCharSequence("android.verificationText", this.f27872IiiIII0);
            bundle.putParcelable("android.answerIntent", this.f27865IiiI0i);
            bundle.putParcelable("android.declineIntent", this.f27867IiiI0iI);
            bundle.putParcelable("android.hangUpIntent", this.f27868IiiI0ii);
            Integer num = this.f27869IiiII0;
            if (num != null) {
                bundle.putInt("android.answerColor", num.intValue());
            }
            Integer num2 = this.f27870IiiII0I;
            if (num2 != null) {
                bundle.putInt("android.declineColor", num2.intValue());
            }
        }

        @Override
        public void IiiI0I0(ii000i ii000iVar) {
            CharSequence charSequence = null;
            if (Build.VERSION.SDK_INT < 31) {
                Notification.Builder IiiI00i2 = ii000iVar.IiiI00i();
                IiiI00i2.setContentTitle(null);
                Bundle bundle = this.f27873IiiI00i.f27818IiiIiiI;
                if (bundle != null && bundle.containsKey("android.text")) {
                    charSequence = this.f27873IiiI00i.f27818IiiIiiI.getCharSequence("android.text");
                }
                if (charSequence == null) {
                    charSequence = IiiI();
                }
                IiiI00i2.setContentText(charSequence);
                IiiI00i.IiiI0I0(IiiI00i2, "call");
                return;
            }
            int i = this.f27866IiiI0i0;
            if (i == 1) {
                throw null;
            }
            if (i == 2) {
                throw null;
            }
            if (i == 3) {
                throw null;
            }
            if (Log.isLoggable("NotifCompat", 3)) {
                Log.d("NotifCompat", "Unrecognized call type in CallStyle: " + String.valueOf(this.f27866IiiI0i0));
            }
        }

        @Override
        public String IiiI0II() {
            return "androidx.core.app.NotificationCompat$CallStyle";
        }

        public ArrayList IiiI0ii() {
            IiiI00i IiiIII02 = IiiIII0();
            IiiI00i IiiII0i2 = IiiII0i();
            ArrayList arrayList = new ArrayList(3);
            arrayList.add(IiiIII02);
            ArrayList<IiiI00i> arrayList2 = this.f27873IiiI00i.f27791IiiI0I0;
            int i = 2;
            if (arrayList2 != null) {
                for (IiiI00i iiiI00i : arrayList2) {
                    if (iiiI00i.IiiII0()) {
                        arrayList.add(iiiI00i);
                    } else if (!IiiII0(iiiI00i) && i > 1) {
                        arrayList.add(iiiI00i);
                        i--;
                    }
                    if (IiiII0i2 != null && i == 1) {
                        arrayList.add(IiiII0i2);
                        i--;
                    }
                }
            }
            if (IiiII0i2 != null && i >= 1) {
                arrayList.add(IiiII0i2);
            }
            return arrayList;
        }

        public final boolean IiiII0(IiiI00i iiiI00i) {
            return iiiI00i != null && iiiI00i.IiiI0II().getBoolean("key_action_priority");
        }

        public final IiiI00i IiiII0I(int i, int i2, Integer num, int i3, PendingIntent pendingIntent) {
            if (num == null) {
                num = Integer.valueOf(i000IIi0.IiiI0II(this.f27873IiiI00i.f27790IiiI00i, i3));
            }
            SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder();
            spannableStringBuilder.append((CharSequence) this.f27873IiiI00i.f27790IiiI00i.getResources().getString(i2));
            spannableStringBuilder.setSpan(new ForegroundColorSpan(num.intValue()), 0, spannableStringBuilder.length(), 18);
            IiiI00i IiiI00i2 = new IiiI00i.C0114IiiI00i(IconCompat.IiiI0II(this.f27873IiiI00i.f27790IiiI00i, i), spannableStringBuilder, pendingIntent).IiiI00i();
            IiiI00i2.IiiI0II().putBoolean("key_action_priority", true);
            return IiiI00i2;
        }

        public final IiiI00i IiiII0i() {
            int i = i00Iii.i00Iii.f27656IiiI0I0;
            int i2 = i00Iii.i00Iii.f27655IiiI00i;
            PendingIntent pendingIntent = this.f27865IiiI0i;
            if (pendingIntent == null) {
                return null;
            }
            boolean z = this.f27864IiiI;
            return IiiII0I(z ? i : i2, z ? i00Iii.i00iI0i.f27659IiiI0I0 : i00Iii.i00iI0i.f27658IiiI00i, this.f27869IiiII0, i00Iii.i00I0I.f27651IiiI00i, pendingIntent);
        }

        public final IiiI00i IiiIII0() {
            int i = i00Iii.i00Iii.f27657IiiI0II;
            PendingIntent pendingIntent = this.f27867IiiI0iI;
            return pendingIntent == null ? IiiII0I(i, i00Iii.i00iI0i.f27661IiiI0Ii, this.f27870IiiII0I, i00Iii.i00I0I.f27652IiiI0I0, this.f27868IiiI0ii) : IiiII0I(i, i00Iii.i00iI0i.f27660IiiI0II, this.f27870IiiII0I, i00Iii.i00I0I.f27652IiiI0I0, pendingIntent);
        }

        public static class IiiI0I0 {
            public static Notification.Action.Builder IiiI0I0(Icon icon, CharSequence charSequence, PendingIntent pendingIntent) {
                return new Notification.Action.Builder(icon, charSequence, pendingIntent);
            }

            public static void IiiI0II(Notification.Builder builder, Icon icon) {
                builder.setLargeIcon(icon);
            }

            public static Parcelable IiiI00i(Icon icon) {
                return icon;
            }
        }
    }

    public static abstract class IiiII0I {

        public IiiI f27873IiiI00i;

        public CharSequence f27874IiiI0I0;

        public CharSequence f27875IiiI0II;

        public boolean f27876IiiI0Ii = false;

        public void IiiI00i(Bundle bundle) {
            if (this.f27876IiiI0Ii) {
                bundle.putCharSequence("android.summaryText", this.f27875IiiI0II);
            }
            CharSequence charSequence = this.f27874IiiI0I0;
            if (charSequence != null) {
                bundle.putCharSequence("android.title.big", charSequence);
            }
            String IiiI0II2 = IiiI0II();
            if (IiiI0II2 != null) {
                bundle.putString("androidx.core.app.extra.COMPAT_TEMPLATE", IiiI0II2);
            }
        }

        public String IiiI0II() {
            return null;
        }

        public RemoteViews IiiI0Ii(ii000i ii000iVar) {
            return null;
        }

        public RemoteViews IiiI0i(ii000i ii000iVar) {
            return null;
        }

        public RemoteViews IiiI0i0(ii000i ii000iVar) {
            return null;
        }

        public void IiiI0iI(IiiI iiiI) {
            if (this.f27873IiiI00i != iiiI) {
                this.f27873IiiI00i = iiiI;
                if (iiiI != null) {
                    iiiI.IiiIi0I(this);
                }
            }
        }

        public void IiiI0I0(ii000i ii000iVar) {
        }
    }
}