正在查看: 远离手机 v4.9.11 应用的 l1llIII11l.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 远离手机 v4.9.11 应用的 l1llIII11l.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.lijianqiang12.silent;
import android.annotation.SuppressLint;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Person;
import android.app.RemoteInput;
import android.content.Context;
import android.content.LocusId;
import android.content.pm.PackageManager;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.Drawable;
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.TextUtils;
import android.text.style.ForegroundColorSpan;
import android.text.style.TextAppearanceSpan;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RemoteViews;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.graphics.drawable.IconCompat;
import com.lijianqiang12.silent.I1lIIlI1lIII;
import com.lijianqiang12.silent.l11Ill1111ll;
import com.lijianqiang12.silent.lIIIl1IlI1llI;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
public class l1llIII11l {
@SuppressLint({"ActionValue"})
public static final String I111I1IlIl1ll = "android.callPersonCompat";
@SuppressLint({"ActionValue"})
public static final String I11I1l1I1l11l = "android.verificationIcon";
@SuppressLint({"ActionValue"})
public static final String I11lII1l1lIII = "android.hangUpIntent";
public static final int I11ll1l1lI11l = 32;
@SuppressLint({"ActionValue"})
public static final String I1II1ll1lI1 = "android.text";
public static final String I1IIl1IlIlI = "transport";
public static final int I1IIlIlI1II11 = 1;
public static final String I1Il11I11II1I = "location_sharing";
public static final int I1Il11llllIl = -1;
public static final String I1Il1II11Ill = "reminder";
@SuppressLint({"ActionValue"})
public static final String I1Il1l11II1lI = "android.textLines";
@SuppressLint({"ActionValue"})
public static final String I1IlI1I1lIIl1 = "android.answerColor";
public static final String I1IlIIl11lIII = "social";
@SuppressLint({"ActionValue"})
public static final String I1IlIl1llII = "android.showChronometer";
public static final String I1lIIl1llIl = "silent";
@SuppressLint({"ActionValue"})
public static final String I1ll1lIII1lIl = "android.callType";
public static final String I1lll111IlllI = "progress";
public static final String II1111lIIII = "call";
@SuppressLint({"ActionValue"})
public static final String II11lIlI1lll1 = "android.picture";
public static final int II1IIll1lIIII = -1;
public static final String II1IllIlI1 = "voicemail";
public static final int II1lllllllI = 1;
public static final int III11IIll1lI1 = 8;
public static final String III11l1IlI = "recommendation";
@Deprecated
public static final int IIIII11lIlIl = 128;
public static final String IIIl1l1lIlI11 = "alarm";
public static final int IIIlI1Il1l111 = 0;
public static final int IIl1I11I1lI1l = 16;
public static final String IIl1l11I11 = "stopwatch";
@SuppressLint({"ActionValue"})
public static final String IIl1ll1ll1l = "android.summaryText";
public static final String IIl1lllI11lIl = "workout";
public static final String IIlIIlI1I1I = "service";
@SuppressLint({"ActionValue"})
public static final String IIlIlIlI111ll = "android.people.list";
public static final int IIll11IllI1l = 4;
private static final String IIllIl1llII = "NotifCompat";
public static final int IIllll1Il1lIl = 4096;
public static final String Il11IIIlII1l = "promo";
@SuppressLint({"ActionValue"})
public static final String Il11lI1III1 = "android.intent.extra.CHANNEL_ID";
public static final int Il11lI1l = 64;
@SuppressLint({"ActionValue"})
public static final String Il11lIlllll1 = "android.title.big";
public static final String Il1I1l111l1l = "androidx.core.app.extra.COMPAT_TEMPLATE";
public static final String Il1IIlIII111 = "navigation";
@SuppressLint({"ActionValue"})
public static final String Il1IlII1 = "android.intent.extra.NOTIFICATION_TAG";
@SuppressLint({"ActionValue"})
public static final String Il1l1IIIl1ll = "android.messages";
@SuppressLint({"ActionValue"})
public static final String IlI11I1l11II1 = "android.compactActions";
public static final String IlI1I11llII = "err";
@SuppressLint({"ActionValue"})
public static final String IlII1l1l1IIlI = "android.backgroundImageUri";
@SuppressLint({"ActionValue"})
public static final String IlIII1l1l111 = "android.largeIcon.big";
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public static final int IlIIlIlll11I1 = 3;
@SuppressLint({"ActionValue"})
public static final String IlIl1llIlIl1 = "android.selfDisplayName";
@SuppressLint({"ActionValue"})
public static final String Ill11IIlII1 = "android.pictureIcon";
@SuppressLint({"ActionValue"})
public static final String Ill1I1IlI1III = "android.verificationText";
public static final String Ill1I1lIIll = "email";
@SuppressLint({"ActionValue"})
public static final String Ill1l11ll11l = "android.icon";
public static final int Ill1llIIlIlll = 2;
@SuppressLint({"ActionValue"})
public static final String IllII1lIII = "android.largeIcon";
public static final int IllIlI1l1I = 2;
@SuppressLint({"ActionValue"})
public static final String IlllIll1I1I = "android.intent.category.NOTIFICATION_PREFERENCES";
@SuppressLint({"ActionValue"})
public static final String Illllll1Illl = "android.isGroupConversation";
@SuppressLint({"ActionValue"})
public static final String l11l1l11I1 = "android.subText";
@SuppressLint({"ActionValue"})
public static final String l11llI1Ill1 = "android.bigText";
@SuppressLint({"ActionValue"})
public static final String l1I111lllI1l1 = "android.pictureContentDescription";
@SuppressLint({"ActionValue"})
public static final String l1I11II1llI1I = "android.infoText";
@SuppressLint({"ActionValue"})
public static final String l1I1IIIlI1II1 = "android.verificationIconCompat";
@SuppressLint({"ActionValue"})
public static final String l1Il1IlII1 = "android.audioContents";
@SuppressLint({"ActionValue"})
public static final String l1IlI1II1IIll = "android.messages.historic";
@SuppressLint({"ActionValue"})
public static final String l1IlI1IIII1I = "android.mediaSession";
@SuppressLint({"ActionValue"})
public static final String l1IlI1lI = "android.colorized";
@SuppressLint({"ActionValue"})
public static final String l1Illll1lI = "android.messagingStyleUser";
@SuppressLint({"ActionValue"})
@Deprecated
public static final String l1l1Il1llII1 = "android.people";
public static final int l1lI1IllIll1 = 0;
public static final int l1lIl1I1IIII = 0;
@SuppressLint({"ActionValue"})
public static final String l1ll1IllII11 = "android.answerIntent";
@I1II11I1lIllI
public static final int l1llI1111I1lI = 0;
public static final int l1llllI11l111 = 4;
@SuppressLint({"ActionValue"})
public static final String lI11111lI1 = "android.intent.extra.NOTIFICATION_ID";
@SuppressLint({"ActionValue"})
public static final String lI1111IllIl1 = "android.showWhen";
public static final int lI111l1I1llIl = 1;
public static final int lI111lI1IllII = 0;
@SuppressLint({"ActionValue"})
public static final String lI11lI1l1 = "android.progressMax";
@SuppressLint({"ActionValue"})
public static final String lI11lI1llIl11 = "android.remoteInputHistory";
public static final String lI11lII1Il1I = "sys";
public static final int lI1l11l11ll = 0;
public static final int lI1ll1I1I11Il = 1;
public static final int lII1lI1Illl = -1;
public static final String lIIIlIll = "msg";
@SuppressLint({"ActionValue"})
public static final String lIIl1I1I = "android.intent.extra.CHANNEL_GROUP_ID";
public static final int lIIllI1lIIl1 = 2;
public static final int lIl11II1lII = -2;
public static final int lIl1IllllII1 = 2;
@SuppressLint({"ActionValue"})
public static final String lIlI1IIllI1 = "android.template";
@SuppressLint({"ActionValue"})
public static final String lIll11IlII1Il = "android.declineIntent";
@SuppressLint({"ActionValue"})
public static final String lIlll1lIII1 = "android.callPerson";
@SuppressLint({"ActionValue"})
public static final String lIllll11l1I1I = "android.showBigPictureWhenCollapsed";
@SuppressLint({"ActionValue"})
public static final String ll11111llIl = "android.title";
public static final int ll11Ill1l1 = 1;
@SuppressLint({"ActionValue"})
public static final String ll11lIII1lll = "android.conversationTitle";
public static final int ll11llIII1111 = 1;
@SuppressLint({"ActionValue"})
public static final String ll1I1I1IIIl1I = "android.chronometerCountDown";
public static final int ll1IlI11lll1l = 2;
public static final String ll1l1l11llI1l = "status";
@SuppressLint({"ActionValue"})
public static final String ll1ll1IllII = "android.declineColor";
public static final int llI1l1l1Il1I = 512;
@SuppressLint({"ActionValue"})
public static final String llIIlIIllI111 = "android.callIsVideo";
public static final int llIIlllll111 = 256;
public static final String llIl11III1lI1 = "event";
public static final String lll1I11Ill1l1 = "missed_call";
public static final int lll1Ill1I1IIl = 2;
@SuppressLint({"ActionValue"})
public static final String lllIl1ll1l1I = "android.progressIndeterminate";
public static final int lllIlIl11ll = -1;
@SuppressLint({"ActionValue"})
public static final String llll11l11l1 = "android.progress";
public static final int llll1IlllIl1 = 1;
@SuppressLint({"ActionValue"})
public static final String llllII1llIlI = "android.hiddenConversationTitle";
public static class I11ll1l1lI11l extends lIl11II1lII {
private static final String Il1IlII1 = "androidx.core.app.NotificationCompat$DecoratedCustomViewStyle";
private static final int lI11111lI1 = 3;
@l1l1lI1IIl1I(24)
static class IIllIl1llII {
private IIllIl1llII() {
}
static Notification.Style IIllIl1llII() {
return new Notification.DecoratedCustomViewStyle();
}
}
@l1l1lI1IIl1I(24)
@IlI1111llI11I
public static List<CharSequence> I1II1ll1lI1(@IlI1111llI11I Context context, @IlI1111llI11I Notification notification) {
if (!l1IlIlIl.IIllIl1llII().getName().equals(notification.extras.getString(l1llIII11l.lIlI1IIllI1))) {
return Collections.emptyList();
}
RemoteViews remoteViews = notification.contentView;
if (remoteViews == null && notification.bigContentView == null && notification.headsUpContentView == null) {
return Collections.emptyList();
}
RemoteViews remoteViews2 = notification.bigContentView;
if (remoteViews2 != null) {
remoteViews = remoteViews2;
} else if (remoteViews == null) {
remoteViews = notification.headsUpContentView;
}
String str = remoteViews.getPackage();
try {
Context createPackageContext = context.createPackageContext(str, 0);
createPackageContext.setTheme(context.getPackageManager().getApplicationInfo(str, 0).theme);
View apply = remoteViews.apply(createPackageContext, null);
ArrayList arrayList = new ArrayList();
l11l1l11I1(apply, arrayList);
return arrayList;
} catch (PackageManager.NameNotFoundException e) {
throw new RuntimeException(e);
}
}
private static List<IlllIll1I1I> Il11lIlllll1(List<IlllIll1I1I> list) {
if (list == null) {
return null;
}
ArrayList arrayList = new ArrayList();
for (IlllIll1I1I illlIll1I1I : list) {
if (!illlIll1I1I.ll11llIII1111()) {
arrayList.add(illlIll1I1I);
}
}
return arrayList;
}
private static void l11l1l11I1(View view, ArrayList<CharSequence> arrayList) {
CharSequence text;
if (!(view instanceof ViewGroup)) {
return;
}
int i = 0;
while (true) {
ViewGroup viewGroup = (ViewGroup) view;
if (i >= viewGroup.getChildCount()) {
return;
}
View childAt = viewGroup.getChildAt(i);
if ((childAt instanceof TextView) && (text = ((TextView) childAt).getText()) != null && text.length() > 0) {
arrayList.add(text);
}
if (childAt instanceof ViewGroup) {
l11l1l11I1(childAt, arrayList);
}
i++;
}
}
private RemoteViews ll11111llIl(IlllIll1I1I illlIll1I1I) {
boolean z = illlIll1I1I.I1Il11llllIl == null;
RemoteViews remoteViews = new RemoteViews(this.IIllIl1llII.IIllIl1llII.getPackageName(), z ? l11Ill1111ll.lII1lI1Illl.Il1IlII1 : l11Ill1111ll.lII1lI1Illl.lIIl1I1I);
IconCompat lI11111lI12 = illlIll1I1I.lI11111lI1();
if (lI11111lI12 != null) {
remoteViews.setImageViewBitmap(l11Ill1111ll.Il1IlII1.Ill1l11ll11l, III11IIll1lI1(lI11111lI12, l11Ill1111ll.IlllIll1I1I.Il1IlII1));
}
remoteViews.setTextViewText(l11Ill1111ll.Il1IlII1.IllII1lIII, illlIll1I1I.IIll11IllI1l);
if (!z) {
remoteViews.setOnClickPendingIntent(l11Ill1111ll.Il1IlII1.IIl1ll1ll1l, illlIll1I1I.I1Il11llllIl);
}
remoteViews.setContentDescription(l11Ill1111ll.Il1IlII1.IIl1ll1ll1l, illlIll1I1I.IIll11IllI1l);
return remoteViews;
}
private RemoteViews ll1IlI11lll1l(RemoteViews remoteViews, boolean z) {
int min;
int i = 0;
RemoteViews Il11lI1III1 = Il11lI1III1(true, l11Ill1111ll.lII1lI1Illl.lI11111lI1, false);
Il11lI1III1.removeAllViews(l11Ill1111ll.Il1IlII1.IlIII1l1l111);
List<IlllIll1I1I> Il11lIlllll1 = Il11lIlllll1(this.IIllIl1llII.IlllIll1I1I);
if (!z || Il11lIlllll1 == null || (min = Math.min(Il11lIlllll1.size(), 3)) <= 0) {
i = 8;
} else {
for (int i2 = 0; i2 < min; i2++) {
Il11lI1III1.addView(l11Ill1111ll.Il1IlII1.IlIII1l1l111, ll11111llIl(Il11lIlllll1.get(i2)));
}
}
Il11lI1III1.setViewVisibility(l11Ill1111ll.Il1IlII1.IlIII1l1l111, i);
Il11lI1III1.setViewVisibility(l11Ill1111ll.Il1IlII1.l11llI1Ill1, i);
Il1IlII1(Il11lI1III1, remoteViews);
return Il11lI1III1;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public RemoteViews IIllll1Il1lIl(I1ll11I i1ll11I) {
if (Build.VERSION.SDK_INT >= 24) {
return null;
}
RemoteViews IIl1I11I1lI1l = this.IIllIl1llII.IIl1I11I1lI1l();
if (IIl1I11I1lI1l == null) {
IIl1I11I1lI1l = this.IIllIl1llII.IIIII11lIlIl();
}
if (IIl1I11I1lI1l == null) {
return null;
}
return ll1IlI11lll1l(IIl1I11I1lI1l, true);
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public boolean Il11lI1l() {
return true;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IlllIll1I1I(I1ll11I i1ll11I) {
if (Build.VERSION.SDK_INT >= 24) {
i1ll11I.IIllIl1llII().setStyle(IIllIl1llII.IIllIl1llII());
}
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public RemoteViews lI1l11l11ll(I1ll11I i1ll11I) {
if (Build.VERSION.SDK_INT < 24 && this.IIllIl1llII.IIIII11lIlIl() != null) {
return ll1IlI11lll1l(this.IIllIl1llII.IIIII11lIlIl(), false);
}
return null;
}
@Override
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected String llIIlllll111() {
return Il1IlII1;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public RemoteViews lllIlIl11ll(I1ll11I i1ll11I) {
if (Build.VERSION.SDK_INT >= 24) {
return null;
}
RemoteViews lI1l11l11ll = this.IIllIl1llII.lI1l11l11ll();
RemoteViews IIIII11lIlIl = lI1l11l11ll != null ? lI1l11l11ll : this.IIllIl1llII.IIIII11lIlIl();
if (lI1l11l11ll == null) {
return null;
}
return ll1IlI11lll1l(IIIII11lIlIl, true);
}
}
public static class I1Il11llllIl extends lIl11II1lII {
private static final String IIll11IllI1l = "androidx.core.app.NotificationCompat$BigPictureStyle";
private IconCompat Il1IlII1;
private boolean Ill1llIIlIlll;
private IconCompat lI11111lI1;
private CharSequence lI111l1I1llIl;
private boolean lII1lI1Illl;
@l1l1lI1IIl1I(23)
private static class IIllIl1llII {
private IIllIl1llII() {
}
@l1l1lI1IIl1I(23)
static void IIllIl1llII(Notification.BigPictureStyle bigPictureStyle, Icon icon) {
bigPictureStyle.bigLargeIcon(icon);
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
private static class IlllIll1I1I {
private IlllIll1I1I() {
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
static void IIllIl1llII(Notification.BigPictureStyle bigPictureStyle, Icon icon) {
bigPictureStyle.bigPicture(icon);
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
static void Il11lI1III1(Notification.BigPictureStyle bigPictureStyle, boolean z) {
bigPictureStyle.showBigPictureWhenCollapsed(z);
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
static void IlllIll1I1I(Notification.BigPictureStyle bigPictureStyle, CharSequence charSequence) {
bigPictureStyle.setContentDescription(charSequence);
}
}
public I1Il11llllIl() {
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@II1lll1lIlIl1
public static IconCompat lI11lI1llIl11(@II1lll1lIlIl1 Bundle bundle) {
if (bundle == null) {
return null;
}
Parcelable parcelable = bundle.getParcelable(l1llIII11l.II11lIlI1lll1);
return parcelable != null ? ll1IlI11lll1l(parcelable) : ll1IlI11lll1l(bundle.getParcelable(l1llIII11l.Ill11IIlII1));
}
@II1lll1lIlIl1
private static IconCompat ll1IlI11lll1l(@II1lll1lIlIl1 Parcelable parcelable) {
if (parcelable == null) {
return null;
}
if (parcelable instanceof Icon) {
return IconCompat.l1llllI11l111((Icon) parcelable);
}
if (parcelable instanceof Bitmap) {
return IconCompat.llIIlllll111((Bitmap) parcelable);
}
return null;
}
@IlI1111llI11I
public I1Il11llllIl I1II1ll1lI1(@II1lll1lIlIl1 Bitmap bitmap) {
this.Il1IlII1 = bitmap == null ? null : IconCompat.llIIlllll111(bitmap);
return this;
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
@IlI1111llI11I
public I1Il11llllIl IIl1ll1ll1l(@II1lll1lIlIl1 CharSequence charSequence) {
this.lI111l1I1llIl = charSequence;
return this;
}
@l1l1lI1IIl1I(23)
@IlI1111llI11I
public I1Il11llllIl Il11lIlllll1(@II1lll1lIlIl1 Icon icon) {
this.lI11111lI1 = icon == null ? null : IconCompat.l1llllI11l111(icon);
this.lII1lI1Illl = true;
return this;
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
@IlI1111llI11I
public I1Il11llllIl Ill1l11ll11l(boolean z) {
this.Ill1llIIlIlll = z;
return this;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IlllIll1I1I(I1ll11I i1ll11I) {
Notification.BigPictureStyle bigContentTitle = new Notification.BigPictureStyle(i1ll11I.IIllIl1llII()).setBigContentTitle(this.IlllIll1I1I);
IconCompat iconCompat = this.Il1IlII1;
if (iconCompat != null) {
if (Build.VERSION.SDK_INT >= 31) {
IlllIll1I1I.IIllIl1llII(bigContentTitle, this.Il1IlII1.llll11l11l1(i1ll11I instanceof IIlIl11l1llI1 ? ((IIlIl11l1llI1) i1ll11I).lI11111lI1() : null));
} else if (iconCompat.I1II1ll1lI1() == 1) {
bigContentTitle = bigContentTitle.bigPicture(this.Il1IlII1.llll1IlllIl1());
}
}
if (this.lII1lI1Illl) {
if (this.lI11111lI1 == null) {
bigContentTitle.bigLargeIcon((Bitmap) null);
} else {
IIllIl1llII.IIllIl1llII(bigContentTitle, this.lI11111lI1.llll11l11l1(i1ll11I instanceof IIlIl11l1llI1 ? ((IIlIl11l1llI1) i1ll11I).lI11111lI1() : null));
}
}
if (this.lIIl1I1I) {
bigContentTitle.setSummaryText(this.Il11lI1III1);
}
if (Build.VERSION.SDK_INT >= 31) {
IlllIll1I1I.Il11lI1III1(bigContentTitle, this.Ill1llIIlIlll);
IlllIll1I1I.IlllIll1I1I(bigContentTitle, this.lI111l1I1llIl);
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
@IlI1111llI11I
public I1Il11llllIl l11l1l11I1(@II1lll1lIlIl1 Icon icon) {
this.Il1IlII1 = IconCompat.l1llllI11l111(icon);
return this;
}
@IlI1111llI11I
public I1Il11llllIl l11llI1Ill1(@II1lll1lIlIl1 CharSequence charSequence) {
this.Il11lI1III1 = l1llllI11l111.ll1IlI11lll1l(charSequence);
this.lIIl1I1I = true;
return this;
}
@IlI1111llI11I
public I1Il11llllIl l1I11II1llI1I(@II1lll1lIlIl1 CharSequence charSequence) {
this.IlllIll1I1I = l1llllI11l111.ll1IlI11lll1l(charSequence);
return this;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lII1lI1Illl(@IlI1111llI11I Bundle bundle) {
super.lII1lI1Illl(bundle);
bundle.remove(l1llIII11l.IlIII1l1l111);
bundle.remove(l1llIII11l.II11lIlI1lll1);
bundle.remove(l1llIII11l.Ill11IIlII1);
bundle.remove(l1llIII11l.lIllll11l1I1I);
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lIl11II1lII(@IlI1111llI11I Bundle bundle) {
super.lIl11II1lII(bundle);
if (bundle.containsKey(l1llIII11l.IlIII1l1l111)) {
this.lI11111lI1 = ll1IlI11lll1l(bundle.getParcelable(l1llIII11l.IlIII1l1l111));
this.lII1lI1Illl = true;
}
this.Il1IlII1 = lI11lI1llIl11(bundle);
this.Ill1llIIlIlll = bundle.getBoolean(l1llIII11l.lIllll11l1I1I);
}
@IlI1111llI11I
public I1Il11llllIl ll11111llIl(@II1lll1lIlIl1 Bitmap bitmap) {
this.lI11111lI1 = bitmap == null ? null : IconCompat.llIIlllll111(bitmap);
this.lII1lI1Illl = true;
return this;
}
@Override
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected String llIIlllll111() {
return IIll11IllI1l;
}
public I1Il11llllIl(@II1lll1lIlIl1 l1llllI11l111 l1lllli11l111) {
llll1IlllIl1(l1lllli11l111);
}
}
public static class III11IIll1lI1 extends lIl11II1lII {
public static final int I11ll1l1lI11l = 1;
private static final String III11IIll1lI1 = "androidx.core.app.NotificationCompat$CallStyle";
public static final int IIIII11lIlIl = 3;
public static final int IIl1I11I1lI1l = 0;
public static final int Il11lI1l = 2;
private static final String llIIlllll111 = "key_action_priority";
private Integer I1Il11llllIl;
private boolean IIll11IllI1l;
private int Il1IlII1;
private PendingIntent Ill1llIIlIlll;
private IconCompat IllIlI1l1I;
private CharSequence l1llllI11l111;
private I1lIIlI1lIII lI11111lI1;
private PendingIntent lI111l1I1llIl;
private PendingIntent lII1lI1Illl;
private Integer ll11llIII1111;
@l1l1lI1IIl1I(20)
static class IIllIl1llII {
private IIllIl1llII() {
}
static Notification.Action.Builder IIllIl1llII(Notification.Action.Builder builder, Bundle bundle) {
return builder.addExtras(bundle);
}
static Notification.Action Il11lI1III1(Notification.Action.Builder builder) {
return builder.build();
}
static Notification.Action.Builder IlllIll1I1I(Notification.Action.Builder builder, RemoteInput remoteInput) {
return builder.addRemoteInput(remoteInput);
}
static Notification.Action.Builder lIIl1I1I(int i, CharSequence charSequence, PendingIntent pendingIntent) {
return new Notification.Action.Builder(i, charSequence, pendingIntent);
}
}
@l1l1lI1IIl1I(23)
static class Il11lI1III1 {
private Il11lI1III1() {
}
static Parcelable IIllIl1llII(Icon icon) {
return icon;
}
static void Il11lI1III1(Notification.Builder builder, Icon icon) {
builder.setLargeIcon(icon);
}
static Notification.Action.Builder IlllIll1I1I(Icon icon, CharSequence charSequence, PendingIntent pendingIntent) {
return new Notification.Action.Builder(icon, charSequence, pendingIntent);
}
}
@l1l1lI1IIl1I(28)
static class Il1IlII1 {
private Il1IlII1() {
}
static Notification.Builder IIllIl1llII(Notification.Builder builder, Person person) {
return builder.addPerson(person);
}
static Parcelable IlllIll1I1I(Person person) {
return person;
}
}
@l1l1lI1IIl1I(21)
static class IlllIll1I1I {
private IlllIll1I1I() {
}
static Notification.Builder IIllIl1llII(Notification.Builder builder, String str) {
return builder.addPerson(str);
}
static Notification.Builder IlllIll1I1I(Notification.Builder builder, String str) {
return builder.setCategory(str);
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
static class lI11111lI1 {
private lI11111lI1() {
}
static Notification.CallStyle IIllIl1llII(@IlI1111llI11I Person person, @IlI1111llI11I PendingIntent pendingIntent, @IlI1111llI11I PendingIntent pendingIntent2) {
return Notification.CallStyle.forIncomingCall(person, pendingIntent, pendingIntent2);
}
static Notification.CallStyle Il11lI1III1(@IlI1111llI11I Person person, @IlI1111llI11I PendingIntent pendingIntent, @IlI1111llI11I PendingIntent pendingIntent2) {
return Notification.CallStyle.forScreeningCall(person, pendingIntent, pendingIntent2);
}
static Notification.Action.Builder Il1IlII1(Notification.Action.Builder builder, boolean z) {
return builder.setAuthenticationRequired(z);
}
static Notification.CallStyle Ill1llIIlIlll(Notification.CallStyle callStyle, @II1lll1lIlIl1 CharSequence charSequence) {
return callStyle.setVerificationText(charSequence);
}
static Notification.CallStyle IlllIll1I1I(@IlI1111llI11I Person person, @IlI1111llI11I PendingIntent pendingIntent) {
return Notification.CallStyle.forOngoingCall(person, pendingIntent);
}
static Notification.CallStyle lI11111lI1(Notification.CallStyle callStyle, @I1II11I1lIllI int i) {
return callStyle.setDeclineButtonColorHint(i);
}
static Notification.CallStyle lI111l1I1llIl(Notification.CallStyle callStyle, @II1lll1lIlIl1 Icon icon) {
return callStyle.setVerificationIcon(icon);
}
static Notification.CallStyle lII1lI1Illl(Notification.CallStyle callStyle, boolean z) {
return callStyle.setIsVideo(z);
}
static Notification.CallStyle lIIl1I1I(Notification.CallStyle callStyle, @I1II11I1lIllI int i) {
return callStyle.setAnswerButtonColorHint(i);
}
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@Retention(RetentionPolicy.SOURCE)
public @interface lII1lI1Illl {
}
@l1l1lI1IIl1I(24)
static class lIIl1I1I {
private lIIl1I1I() {
}
static Notification.Action.Builder IIllIl1llII(Notification.Action.Builder builder, boolean z) {
return builder.setAllowGeneratedReplies(z);
}
}
public III11IIll1lI1() {
}
@l1l1lI1IIl1I(20)
@II1lll1lIlIl1
private IlllIll1I1I IIl1ll1ll1l() {
int i = l11Ill1111ll.lIIl1I1I.Il11lI1III1;
int i2 = l11Ill1111ll.lIIl1I1I.IIllIl1llII;
PendingIntent pendingIntent = this.lII1lI1Illl;
if (pendingIntent == null) {
return null;
}
boolean z = this.IIll11IllI1l;
return l1I11II1llI1I(z ? i : i2, z ? l11Ill1111ll.lI111l1I1llIl.IlllIll1I1I : l11Ill1111ll.lI111l1I1llIl.IIllIl1llII, this.I1Il11llllIl, l11Ill1111ll.IlllIll1I1I.Il11lI1III1, pendingIntent);
}
@IlI1111llI11I
public static III11IIll1lI1 Il11lIlllll1(@IlI1111llI11I I1lIIlI1lIII i1lIIlI1lIII, @IlI1111llI11I PendingIntent pendingIntent, @IlI1111llI11I PendingIntent pendingIntent2) {
Objects.requireNonNull(pendingIntent, "hangUpIntent is required");
Objects.requireNonNull(pendingIntent2, "answerIntent is required");
return new III11IIll1lI1(3, i1lIIlI1lIII, pendingIntent, null, pendingIntent2);
}
@II1lll1lIlIl1
private String l11l1l11I1() {
int i = this.Il1IlII1;
if (i == 1) {
return this.IIllIl1llII.IIllIl1llII.getResources().getString(l11Ill1111ll.lI111l1I1llIl.Il1IlII1);
}
if (i == 2) {
return this.IIllIl1llII.IIllIl1llII.getResources().getString(l11Ill1111ll.lI111l1I1llIl.lI11111lI1);
}
if (i != 3) {
return null;
}
return this.IIllIl1llII.IIllIl1llII.getResources().getString(l11Ill1111ll.lI111l1I1llIl.lII1lI1Illl);
}
@l1l1lI1IIl1I(20)
@IlI1111llI11I
private IlllIll1I1I l11llI1Ill1() {
int i = l11Ill1111ll.lIIl1I1I.Il1IlII1;
PendingIntent pendingIntent = this.lI111l1I1llIl;
return pendingIntent == null ? l1I11II1llI1I(i, l11Ill1111ll.lI111l1I1llIl.lIIl1I1I, this.ll11llIII1111, l11Ill1111ll.IlllIll1I1I.lIIl1I1I, this.Ill1llIIlIlll) : l1I11II1llI1I(i, l11Ill1111ll.lI111l1I1llIl.Il11lI1III1, this.ll11llIII1111, l11Ill1111ll.IlllIll1I1I.lIIl1I1I, pendingIntent);
}
@l1l1lI1IIl1I(20)
@IlI1111llI11I
private IlllIll1I1I l1I11II1llI1I(int i, int i2, Integer num, int i3, PendingIntent pendingIntent) {
if (num == null) {
num = Integer.valueOf(lI1Il1II1l1.lII1lI1Illl(this.IIllIl1llII.IIllIl1llII, i3));
}
SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder();
spannableStringBuilder.append((CharSequence) this.IIllIl1llII.IIllIl1llII.getResources().getString(i2));
spannableStringBuilder.setSpan(new ForegroundColorSpan(num.intValue()), 0, spannableStringBuilder.length(), 18);
IlllIll1I1I Il11lI1III12 = new IlllIll1I1I.IIllIl1llII(IconCompat.lllIlIl11ll(this.IIllIl1llII.IIllIl1llII, i), spannableStringBuilder, pendingIntent).Il11lI1III1();
Il11lI1III12.lIIl1I1I().putBoolean(llIIlllll111, true);
return Il11lI1III12;
}
private boolean lI11lI1llIl11(IlllIll1I1I illlIll1I1I) {
return illlIll1I1I != null && illlIll1I1I.lIIl1I1I().getBoolean(llIIlllll111);
}
@IlI1111llI11I
public static III11IIll1lI1 ll11111llIl(@IlI1111llI11I I1lIIlI1lIII i1lIIlI1lIII, @IlI1111llI11I PendingIntent pendingIntent) {
Objects.requireNonNull(pendingIntent, "hangUpIntent is required");
return new III11IIll1lI1(2, i1lIIlI1lIII, pendingIntent, null, null);
}
@IlI1111llI11I
public static III11IIll1lI1 ll1IlI11lll1l(@IlI1111llI11I I1lIIlI1lIII i1lIIlI1lIII, @IlI1111llI11I PendingIntent pendingIntent, @IlI1111llI11I PendingIntent pendingIntent2) {
Objects.requireNonNull(pendingIntent, "declineIntent is required");
Objects.requireNonNull(pendingIntent2, "answerIntent is required");
return new III11IIll1lI1(1, i1lIIlI1lIII, null, pendingIntent, pendingIntent2);
}
@l1l1lI1IIl1I(20)
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public ArrayList<IlllIll1I1I> I1II1ll1lI1() {
IlllIll1I1I l11llI1Ill1 = l11llI1Ill1();
IlllIll1I1I IIl1ll1ll1l = IIl1ll1ll1l();
ArrayList<IlllIll1I1I> arrayList = new ArrayList<>(3);
arrayList.add(l11llI1Ill1);
ArrayList<IlllIll1I1I> arrayList2 = this.IIllIl1llII.IlllIll1I1I;
int i = 2;
if (arrayList2 != null) {
for (IlllIll1I1I illlIll1I1I : arrayList2) {
if (illlIll1I1I.ll11llIII1111()) {
arrayList.add(illlIll1I1I);
} else if (!lI11lI1llIl11(illlIll1I1I) && i > 1) {
arrayList.add(illlIll1I1I);
i--;
}
if (IIl1ll1ll1l != null && i == 1) {
arrayList.add(IIl1ll1ll1l);
i--;
}
}
}
if (IIl1ll1ll1l != null && i >= 1) {
arrayList.add(IIl1ll1ll1l);
}
return arrayList;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IIllIl1llII(@IlI1111llI11I Bundle bundle) {
super.IIllIl1llII(bundle);
bundle.putInt(l1llIII11l.I1ll1lIII1lIl, this.Il1IlII1);
bundle.putBoolean(l1llIII11l.llIIlIIllI111, this.IIll11IllI1l);
I1lIIlI1lIII i1lIIlI1lIII = this.lI11111lI1;
if (i1lIIlI1lIII != null) {
if (Build.VERSION.SDK_INT >= 28) {
bundle.putParcelable(l1llIII11l.lIlll1lIII1, Il1IlII1.IlllIll1I1I(i1lIIlI1lIII.I1Il11llllIl()));
} else {
bundle.putParcelable(l1llIII11l.I111I1IlIl1ll, i1lIIlI1lIII.IllIlI1l1I());
}
}
IconCompat iconCompat = this.IllIlI1l1I;
if (iconCompat != null) {
bundle.putParcelable(l1llIII11l.I11I1l1I1l11l, Il11lI1III1.IIllIl1llII(iconCompat.llll11l11l1(this.IIllIl1llII.IIllIl1llII)));
}
bundle.putCharSequence(l1llIII11l.Ill1I1IlI1III, this.l1llllI11l111);
bundle.putParcelable(l1llIII11l.l1ll1IllII11, this.lII1lI1Illl);
bundle.putParcelable(l1llIII11l.lIll11IlII1Il, this.lI111l1I1llIl);
bundle.putParcelable(l1llIII11l.I11lII1l1lIII, this.Ill1llIIlIlll);
Integer num = this.I1Il11llllIl;
if (num != null) {
bundle.putInt(l1llIII11l.I1IlI1I1lIIl1, num.intValue());
}
Integer num2 = this.ll11llIII1111;
if (num2 != null) {
bundle.putInt(l1llIII11l.ll1ll1IllII, num2.intValue());
}
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public boolean Il11lI1l() {
return true;
}
@IlI1111llI11I
public III11IIll1lI1 IlIII1l1l111(boolean z) {
this.IIll11IllI1l = z;
return this;
}
@IlI1111llI11I
public III11IIll1lI1 Ill1l11ll11l(@I1II11I1lIllI int i) {
this.I1Il11llllIl = Integer.valueOf(i);
return this;
}
@IlI1111llI11I
public III11IIll1lI1 IllII1lIII(@I1II11I1lIllI int i) {
this.ll11llIII1111 = Integer.valueOf(i);
return this;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IlllIll1I1I(I1ll11I i1ll11I) {
int i = Build.VERSION.SDK_INT;
CharSequence charSequence = null;
r2 = null;
Notification.CallStyle IIllIl1llII2 = null;
charSequence = null;
if (i < 31) {
Notification.Builder IIllIl1llII3 = i1ll11I.IIllIl1llII();
I1lIIlI1lIII i1lIIlI1lIII = this.lI11111lI1;
IIllIl1llII3.setContentTitle(i1lIIlI1lIII != null ? i1lIIlI1lIII.lI11111lI1() : null);
Bundle bundle = this.IIllIl1llII.l11l1l11I1;
if (bundle != null && bundle.containsKey(l1llIII11l.I1II1ll1lI1)) {
charSequence = this.IIllIl1llII.l11l1l11I1.getCharSequence(l1llIII11l.I1II1ll1lI1);
}
if (charSequence == null) {
charSequence = l11l1l11I1();
}
IIllIl1llII3.setContentText(charSequence);
I1lIIlI1lIII i1lIIlI1lIII2 = this.lI11111lI1;
if (i1lIIlI1lIII2 != null) {
if (i1lIIlI1lIII2.lIIl1I1I() != null) {
Il11lI1III1.Il11lI1III1(IIllIl1llII3, this.lI11111lI1.lIIl1I1I().llll11l11l1(this.IIllIl1llII.IIllIl1llII));
}
if (i >= 28) {
Il1IlII1.IIllIl1llII(IIllIl1llII3, this.lI11111lI1.I1Il11llllIl());
} else {
IlllIll1I1I.IIllIl1llII(IIllIl1llII3, this.lI11111lI1.lII1lI1Illl());
}
}
IlllIll1I1I.IlllIll1I1I(IIllIl1llII3, "call");
return;
}
int i2 = this.Il1IlII1;
if (i2 == 1) {
IIllIl1llII2 = lI11111lI1.IIllIl1llII(this.lI11111lI1.I1Il11llllIl(), this.lI111l1I1llIl, this.lII1lI1Illl);
} else if (i2 == 2) {
IIllIl1llII2 = lI11111lI1.IlllIll1I1I(this.lI11111lI1.I1Il11llllIl(), this.Ill1llIIlIlll);
} else if (i2 == 3) {
IIllIl1llII2 = lI11111lI1.Il11lI1III1(this.lI11111lI1.I1Il11llllIl(), this.Ill1llIIlIlll, this.lII1lI1Illl);
} else if (Log.isLoggable(l1llIII11l.IIllIl1llII, 3)) {
StringBuilder sb = new StringBuilder();
sb.append("Unrecognized call type in CallStyle: ");
sb.append(String.valueOf(this.Il1IlII1));
}
if (IIllIl1llII2 != null) {
IIllIl1llII2.setBuilder(i1ll11I.IIllIl1llII());
Integer num = this.I1Il11llllIl;
if (num != null) {
lI11111lI1.lIIl1I1I(IIllIl1llII2, num.intValue());
}
Integer num2 = this.ll11llIII1111;
if (num2 != null) {
lI11111lI1.lI11111lI1(IIllIl1llII2, num2.intValue());
}
lI11111lI1.Ill1llIIlIlll(IIllIl1llII2, this.l1llllI11l111);
IconCompat iconCompat = this.IllIlI1l1I;
if (iconCompat != null) {
lI11111lI1.lI111l1I1llIl(IIllIl1llII2, iconCompat.llll11l11l1(this.IIllIl1llII.IIllIl1llII));
}
lI11111lI1.lII1lI1Illl(IIllIl1llII2, this.IIll11IllI1l);
}
}
@l1l1lI1IIl1I(23)
@IlI1111llI11I
public III11IIll1lI1 lI11lI1l1(@II1lll1lIlIl1 Icon icon) {
this.IllIlI1l1I = icon == null ? null : IconCompat.l1llllI11l111(icon);
return this;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lIl11II1lII(@IlI1111llI11I Bundle bundle) {
super.lIl11II1lII(bundle);
this.Il1IlII1 = bundle.getInt(l1llIII11l.I1ll1lIII1lIl);
this.IIll11IllI1l = bundle.getBoolean(l1llIII11l.llIIlIIllI111);
if (Build.VERSION.SDK_INT >= 28 && bundle.containsKey(l1llIII11l.lIlll1lIII1)) {
this.lI11111lI1 = I1lIIlI1lIII.IIllIl1llII(l1lI1lI1IlllI.IIllIl1llII(bundle.getParcelable(l1llIII11l.lIlll1lIII1)));
} else if (bundle.containsKey(l1llIII11l.I111I1IlIl1ll)) {
this.lI11111lI1 = I1lIIlI1lIII.IlllIll1I1I(bundle.getBundle(l1llIII11l.I111I1IlIl1ll));
}
if (bundle.containsKey(l1llIII11l.I11I1l1I1l11l)) {
this.IllIlI1l1I = IconCompat.l1llllI11l111((Icon) bundle.getParcelable(l1llIII11l.I11I1l1I1l11l));
} else if (bundle.containsKey(l1llIII11l.l1I1IIIlI1II1)) {
this.IllIlI1l1I = IconCompat.ll11llIII1111(bundle.getBundle(l1llIII11l.l1I1IIIlI1II1));
}
this.l1llllI11l111 = bundle.getCharSequence(l1llIII11l.Ill1I1IlI1III);
this.lII1lI1Illl = (PendingIntent) bundle.getParcelable(l1llIII11l.l1ll1IllII11);
this.lI111l1I1llIl = (PendingIntent) bundle.getParcelable(l1llIII11l.lIll11IlII1Il);
this.Ill1llIIlIlll = (PendingIntent) bundle.getParcelable(l1llIII11l.I11lII1l1lIII);
this.I1Il11llllIl = bundle.containsKey(l1llIII11l.I1IlI1I1lIIl1) ? Integer.valueOf(bundle.getInt(l1llIII11l.I1IlI1I1lIIl1)) : null;
this.ll11llIII1111 = bundle.containsKey(l1llIII11l.ll1ll1IllII) ? Integer.valueOf(bundle.getInt(l1llIII11l.ll1ll1IllII)) : null;
}
@Override
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected String llIIlllll111() {
return III11IIll1lI1;
}
@IlI1111llI11I
public III11IIll1lI1 lllIl1ll1l1I(@II1lll1lIlIl1 CharSequence charSequence) {
this.l1llllI11l111 = charSequence;
return this;
}
@IlI1111llI11I
public III11IIll1lI1 llll11l11l1(@II1lll1lIlIl1 Bitmap bitmap) {
this.IllIlI1l1I = IconCompat.llIIlllll111(bitmap);
return this;
}
public III11IIll1lI1(@II1lll1lIlIl1 l1llllI11l111 l1lllli11l111) {
llll1IlllIl1(l1lllli11l111);
}
private III11IIll1lI1(int i, @IlI1111llI11I I1lIIlI1lIII i1lIIlI1lIII, @II1lll1lIlIl1 PendingIntent pendingIntent, @II1lll1lIlIl1 PendingIntent pendingIntent2, @II1lll1lIlIl1 PendingIntent pendingIntent3) {
if (i1lIIlI1lIII == null || TextUtils.isEmpty(i1lIIlI1lIII.lI11111lI1())) {
throw new IllegalArgumentException("person must have a non-empty a name");
}
this.Il1IlII1 = i;
this.lI11111lI1 = i1lIIlI1lIII;
this.lII1lI1Illl = pendingIntent3;
this.lI111l1I1llIl = pendingIntent2;
this.Ill1llIIlIlll = pendingIntent;
}
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@Retention(RetentionPolicy.SOURCE)
public @interface IIIII11lIlIl {
}
public static final class IIl1I11I1lI1l implements Il11lI1l {
private static final String I1Il11llllIl = "messages";
private static final String III11IIll1lI1 = "participants";
private static final String IIl1I11I1lI1l = "timestamp";
private static final String IIll11IllI1l = "text";
private static final String Il1IlII1 = "large_icon";
private static final String Ill1llIIlIlll = "author";
private static final String IllIlI1l1I = "on_reply";
private static final String l1llllI11l111 = "on_read";
private static final String lI11111lI1 = "car_conversation";
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
static final String lI111l1I1llIl = "invisible_actions";
private static final String lII1lI1Illl = "app_color";
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
static final String lIIl1I1I = "android.car.EXTENSIONS";
private static final String ll11llIII1111 = "remote_input";
private Bitmap IIllIl1llII;
private int Il11lI1III1;
private Il11lI1III1 IlllIll1I1I;
@l1l1lI1IIl1I(20)
static class IIllIl1llII {
private IIllIl1llII() {
}
static RemoteInput.Builder I1Il11llllIl(RemoteInput.Builder builder, CharSequence[] charSequenceArr) {
return builder.setChoices(charSequenceArr);
}
static RemoteInput.Builder IIll11IllI1l(RemoteInput.Builder builder, boolean z) {
return builder.setAllowFreeFormInput(z);
}
static RemoteInput.Builder IIllIl1llII(RemoteInput.Builder builder, Bundle bundle) {
return builder.addExtras(bundle);
}
static Parcelable Il11lI1III1(RemoteInput remoteInput) {
return remoteInput;
}
static boolean Il1IlII1(RemoteInput remoteInput) {
return remoteInput.getAllowFreeFormInput();
}
static String Ill1llIIlIlll(RemoteInput remoteInput) {
return remoteInput.getResultKey();
}
static RemoteInput IlllIll1I1I(RemoteInput.Builder builder) {
return builder.build();
}
static CharSequence[] lI11111lI1(RemoteInput remoteInput) {
return remoteInput.getChoices();
}
static CharSequence lI111l1I1llIl(RemoteInput remoteInput) {
return remoteInput.getLabel();
}
static Bundle lII1lI1Illl(RemoteInput remoteInput) {
return remoteInput.getExtras();
}
static RemoteInput.Builder lIIl1I1I(String str) {
return new RemoteInput.Builder(str);
}
static RemoteInput.Builder ll11llIII1111(RemoteInput.Builder builder, CharSequence charSequence) {
return builder.setLabel(charSequence);
}
}
@Deprecated
public static class Il11lI1III1 {
private final String[] IIllIl1llII;
private final PendingIntent Il11lI1III1;
private final String[] Il1IlII1;
private final Ill1lI1ll1Ill IlllIll1I1I;
private final long lI11111lI1;
private final PendingIntent lIIl1I1I;
public static class IIllIl1llII {
private final List<String> IIllIl1llII = new ArrayList();
private Ill1lI1ll1Ill Il11lI1III1;
private PendingIntent Il1IlII1;
private final String IlllIll1I1I;
private long lI11111lI1;
private PendingIntent lIIl1I1I;
public IIllIl1llII(@IlI1111llI11I String str) {
this.IlllIll1I1I = str;
}
@IlI1111llI11I
public IIllIl1llII IIllIl1llII(@II1lll1lIlIl1 String str) {
if (str != null) {
this.IIllIl1llII.add(str);
}
return this;
}
@IlI1111llI11I
public IIllIl1llII Il11lI1III1(long j) {
this.lI11111lI1 = j;
return this;
}
@IlI1111llI11I
public IIllIl1llII Il1IlII1(@II1lll1lIlIl1 PendingIntent pendingIntent, @II1lll1lIlIl1 Ill1lI1ll1Ill ill1lI1ll1Ill) {
this.Il11lI1III1 = ill1lI1ll1Ill;
this.Il1IlII1 = pendingIntent;
return this;
}
@IlI1111llI11I
public Il11lI1III1 IlllIll1I1I() {
List<String> list = this.IIllIl1llII;
return new Il11lI1III1((String[]) list.toArray(new String[list.size()]), this.Il11lI1III1, this.Il1IlII1, this.lIIl1I1I, new String[]{this.IlllIll1I1I}, this.lI11111lI1);
}
@IlI1111llI11I
public IIllIl1llII lIIl1I1I(@II1lll1lIlIl1 PendingIntent pendingIntent) {
this.lIIl1I1I = pendingIntent;
return this;
}
}
Il11lI1III1(@II1lll1lIlIl1 String[] strArr, @II1lll1lIlIl1 Ill1lI1ll1Ill ill1lI1ll1Ill, @II1lll1lIlIl1 PendingIntent pendingIntent, @II1lll1lIlIl1 PendingIntent pendingIntent2, @II1lll1lIlIl1 String[] strArr2, long j) {
this.IIllIl1llII = strArr;
this.IlllIll1I1I = ill1lI1ll1Ill;
this.lIIl1I1I = pendingIntent2;
this.Il11lI1III1 = pendingIntent;
this.Il1IlII1 = strArr2;
this.lI11111lI1 = j;
}
public long IIllIl1llII() {
return this.lI11111lI1;
}
@II1lll1lIlIl1
public String Il11lI1III1() {
String[] strArr = this.Il1IlII1;
if (strArr.length > 0) {
return strArr[0];
}
return null;
}
@II1lll1lIlIl1
public PendingIntent Il1IlII1() {
return this.lIIl1I1I;
}
@II1lll1lIlIl1
public String[] IlllIll1I1I() {
return this.IIllIl1llII;
}
@II1lll1lIlIl1
public Ill1lI1ll1Ill lI11111lI1() {
return this.IlllIll1I1I;
}
@II1lll1lIlIl1
public PendingIntent lII1lI1Illl() {
return this.Il11lI1III1;
}
@II1lll1lIlIl1
public String[] lIIl1I1I() {
return this.Il1IlII1;
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.I1II1ll1lI1)
static class IlllIll1I1I {
private IlllIll1I1I() {
}
static int IIllIl1llII(RemoteInput remoteInput) {
return remoteInput.getEditChoicesBeforeSending();
}
}
public IIl1I11I1lI1l() {
this.Il11lI1III1 = 0;
}
@l1l1lI1IIl1I(21)
private static Bundle IlllIll1I1I(@IlI1111llI11I Il11lI1III1 il11lI1III1) {
Bundle bundle = new Bundle();
String str = (il11lI1III1.lIIl1I1I() == null || il11lI1III1.lIIl1I1I().length <= 1) ? null : il11lI1III1.lIIl1I1I()[0];
int length = il11lI1III1.IlllIll1I1I().length;
Parcelable[] parcelableArr = new Parcelable[length];
for (int i = 0; i < length; i++) {
Bundle bundle2 = new Bundle();
bundle2.putString(IIll11IllI1l, il11lI1III1.IlllIll1I1I()[i]);
bundle2.putString(Ill1llIIlIlll, str);
parcelableArr[i] = bundle2;
}
bundle.putParcelableArray(I1Il11llllIl, parcelableArr);
Ill1lI1ll1Ill lI11111lI12 = il11lI1III1.lI11111lI1();
if (lI11111lI12 != null) {
RemoteInput.Builder lIIl1I1I2 = IIllIl1llII.lIIl1I1I(lI11111lI12.III11IIll1lI1());
IIllIl1llII.ll11llIII1111(lIIl1I1I2, lI11111lI12.l1llllI11l111());
IIllIl1llII.I1Il11llllIl(lIIl1I1I2, lI11111lI12.lI111l1I1llIl());
IIllIl1llII.IIll11IllI1l(lIIl1I1I2, lI11111lI12.lI11111lI1());
IIllIl1llII.IIllIl1llII(lIIl1I1I2, lI11111lI12.IllIlI1l1I());
bundle.putParcelable(ll11llIII1111, IIllIl1llII.Il11lI1III1(IIllIl1llII.IlllIll1I1I(lIIl1I1I2)));
}
bundle.putParcelable(IllIlI1l1I, il11lI1III1.lII1lI1Illl());
bundle.putParcelable(l1llllI11l111, il11lI1III1.Il1IlII1());
bundle.putStringArray(III11IIll1lI1, il11lI1III1.lIIl1I1I());
bundle.putLong(IIl1I11I1lI1l, il11lI1III1.IIllIl1llII());
return bundle;
}
@l1l1lI1IIl1I(21)
private static Il11lI1III1 lI11111lI1(@II1lll1lIlIl1 Bundle bundle) {
String[] strArr;
if (bundle == null) {
return null;
}
Parcelable[] parcelableArray = bundle.getParcelableArray(I1Il11llllIl);
if (parcelableArray != null) {
int length = parcelableArray.length;
String[] strArr2 = new String[length];
for (int i = 0; i < length; i++) {
Parcelable parcelable = parcelableArray[i];
if (parcelable instanceof Bundle) {
String string = ((Bundle) parcelable).getString(IIll11IllI1l);
strArr2[i] = string;
if (string != null) {
}
}
return null;
}
strArr = strArr2;
} else {
strArr = null;
}
PendingIntent pendingIntent = (PendingIntent) bundle.getParcelable(l1llllI11l111);
PendingIntent pendingIntent2 = (PendingIntent) bundle.getParcelable(IllIlI1l1I);
RemoteInput remoteInput = (RemoteInput) bundle.getParcelable(ll11llIII1111);
String[] stringArray = bundle.getStringArray(III11IIll1lI1);
if (stringArray == null || stringArray.length != 1) {
return null;
}
return new Il11lI1III1(strArr, remoteInput != null ? new Ill1lI1ll1Ill(IIllIl1llII.Ill1llIIlIlll(remoteInput), IIllIl1llII.lI111l1I1llIl(remoteInput), IIllIl1llII.lI11111lI1(remoteInput), IIllIl1llII.Il1IlII1(remoteInput), Build.VERSION.SDK_INT >= 29 ? IlllIll1I1I.IIllIl1llII(remoteInput) : 0, IIllIl1llII.lII1lI1Illl(remoteInput), null) : null, pendingIntent2, pendingIntent, stringArray, bundle.getLong(IIl1I11I1lI1l));
}
@Override
@IlI1111llI11I
public l1llllI11l111 IIllIl1llII(@IlI1111llI11I l1llllI11l111 l1lllli11l111) {
Bundle bundle = new Bundle();
Bitmap bitmap = this.IIllIl1llII;
if (bitmap != null) {
bundle.putParcelable(Il1IlII1, bitmap);
}
int i = this.Il11lI1III1;
if (i != 0) {
bundle.putInt(lII1lI1Illl, i);
}
Il11lI1III1 il11lI1III1 = this.IlllIll1I1I;
if (il11lI1III1 != null) {
bundle.putBundle(lI11111lI1, IlllIll1I1I(il11lI1III1));
}
l1lllli11l111.llIIlllll111().putBundle(lIIl1I1I, bundle);
return l1lllli11l111;
}
@I1II11I1lIllI
public int Il11lI1III1() {
return this.Il11lI1III1;
}
@II1lll1lIlIl1
@Deprecated
public Il11lI1III1 Il1IlII1() {
return this.IlllIll1I1I;
}
@IlI1111llI11I
@Deprecated
public IIl1I11I1lI1l Ill1llIIlIlll(@II1lll1lIlIl1 Il11lI1III1 il11lI1III1) {
this.IlllIll1I1I = il11lI1III1;
return this;
}
@IlI1111llI11I
public IIl1I11I1lI1l lI111l1I1llIl(@II1lll1lIlIl1 Bitmap bitmap) {
this.IIllIl1llII = bitmap;
return this;
}
@IlI1111llI11I
public IIl1I11I1lI1l lII1lI1Illl(@I1II11I1lIllI int i) {
this.Il11lI1III1 = i;
return this;
}
@II1lll1lIlIl1
public Bitmap lIIl1I1I() {
return this.IIllIl1llII;
}
public IIl1I11I1lI1l(@IlI1111llI11I Notification notification) {
this.Il11lI1III1 = 0;
Bundle bundle = l1llIII11l.l1llllI11l111(notification) == null ? null : l1llIII11l.l1llllI11l111(notification).getBundle(lIIl1I1I);
if (bundle != null) {
this.IIllIl1llII = (Bitmap) bundle.getParcelable(Il1IlII1);
this.Il11lI1III1 = bundle.getInt(lII1lI1Illl, 0);
this.IlllIll1I1I = lI11111lI1(bundle.getBundle(lI11111lI1));
}
}
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@Retention(RetentionPolicy.SOURCE)
public @interface IIll11IllI1l {
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@Retention(RetentionPolicy.SOURCE)
public @interface IIllll1Il1lIl {
}
@l1l1lI1IIl1I(20)
static class Il11lI1III1 {
private Il11lI1III1() {
}
static boolean IIllIl1llII(RemoteInput remoteInput) {
return remoteInput.getAllowFreeFormInput();
}
static Bundle Il11lI1III1(Notification.Action action) {
return action.getExtras();
}
static String Il1IlII1(Notification notification) {
return notification.getGroup();
}
static String Ill1llIIlIlll(Notification notification) {
return notification.getSortKey();
}
static CharSequence[] IlllIll1I1I(RemoteInput remoteInput) {
return remoteInput.getChoices();
}
static CharSequence lI11111lI1(RemoteInput remoteInput) {
return remoteInput.getLabel();
}
static String lI111l1I1llIl(RemoteInput remoteInput) {
return remoteInput.getResultKey();
}
static RemoteInput[] lII1lI1Illl(Notification.Action action) {
return action.getRemoteInputs();
}
static Bundle lIIl1I1I(RemoteInput remoteInput) {
return remoteInput.getExtras();
}
}
public interface Il11lI1l {
@IlI1111llI11I
l1llllI11l111 IIllIl1llII(@IlI1111llI11I l1llllI11l111 l1lllli11l111);
}
@l1l1lI1IIl1I(24)
static class Il1IlII1 {
private Il1IlII1() {
}
static boolean IIllIl1llII(Notification.Action action) {
return action.getAllowGeneratedReplies();
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
static class Ill1llIIlIlll {
private Ill1llIIlIlll() {
}
static boolean IIllIl1llII(Notification.Action action) {
return action.isAuthenticationRequired();
}
}
public static final class IllIlI1l1I {
private static final int Ill1llIIlIlll = 2;
private static final int lI111l1I1llIl = 1;
private PendingIntent IIllIl1llII;
private IconCompat Il11lI1III1;
@I1IlI1lI1I1l1
private int Il1IlII1;
private PendingIntent IlllIll1I1I;
private int lI11111lI1;
private String lII1lI1Illl;
private int lIIl1I1I;
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.I1II1ll1lI1)
private static class IIllIl1llII {
private IIllIl1llII() {
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.I1II1ll1lI1)
@II1lll1lIlIl1
static IllIlI1l1I IIllIl1llII(@II1lll1lIlIl1 Notification.BubbleMetadata bubbleMetadata) {
if (bubbleMetadata == null || bubbleMetadata.getIntent() == null) {
return null;
}
Il11lI1III1 Ill1llIIlIlll = new Il11lI1III1(bubbleMetadata.getIntent(), IconCompat.l1llllI11l111(bubbleMetadata.getIcon())).IlllIll1I1I(bubbleMetadata.getAutoExpandBubble()).Il11lI1III1(bubbleMetadata.getDeleteIntent()).Ill1llIIlIlll(bubbleMetadata.isNotificationSuppressed());
if (bubbleMetadata.getDesiredHeight() != 0) {
Ill1llIIlIlll.lIIl1I1I(bubbleMetadata.getDesiredHeight());
}
if (bubbleMetadata.getDesiredHeightResId() != 0) {
Ill1llIIlIlll.Il1IlII1(bubbleMetadata.getDesiredHeightResId());
}
return Ill1llIIlIlll.IIllIl1llII();
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.I1II1ll1lI1)
@II1lll1lIlIl1
static Notification.BubbleMetadata IlllIll1I1I(@II1lll1lIlIl1 IllIlI1l1I illIlI1l1I) {
if (illIlI1l1I == null || illIlI1l1I.lII1lI1Illl() == null) {
return null;
}
Notification.BubbleMetadata.Builder suppressNotification = new Notification.BubbleMetadata.Builder().setIcon(illIlI1l1I.lI11111lI1().IlIII1l1l111()).setIntent(illIlI1l1I.lII1lI1Illl()).setDeleteIntent(illIlI1l1I.Il11lI1III1()).setAutoExpandBubble(illIlI1l1I.IlllIll1I1I()).setSuppressNotification(illIlI1l1I.Ill1llIIlIlll());
if (illIlI1l1I.lIIl1I1I() != 0) {
suppressNotification.setDesiredHeight(illIlI1l1I.lIIl1I1I());
}
if (illIlI1l1I.Il1IlII1() != 0) {
suppressNotification.setDesiredHeightResId(illIlI1l1I.Il1IlII1());
}
return suppressNotification.build();
}
}
public static final class Il11lI1III1 {
private PendingIntent IIllIl1llII;
private int Il11lI1III1;
private int Il1IlII1;
private IconCompat IlllIll1I1I;
private PendingIntent lI11111lI1;
private String lII1lI1Illl;
@I1IlI1lI1I1l1
private int lIIl1I1I;
@Deprecated
public Il11lI1III1() {
}
@IlI1111llI11I
private Il11lI1III1 lI11111lI1(int i, boolean z) {
if (z) {
this.Il1IlII1 = i | this.Il1IlII1;
} else {
this.Il1IlII1 = (~i) & this.Il1IlII1;
}
return this;
}
@IlI1111llI11I
public IllIlI1l1I IIllIl1llII() {
String str = this.lII1lI1Illl;
if (str == null && this.IIllIl1llII == null) {
throw new NullPointerException("Must supply pending intent or shortcut to bubble");
}
if (str == null && this.IlllIll1I1I == null) {
throw new NullPointerException("Must supply an icon or shortcut for the bubble");
}
IllIlI1l1I illIlI1l1I = new IllIlI1l1I(this.IIllIl1llII, this.lI11111lI1, this.IlllIll1I1I, this.Il11lI1III1, this.lIIl1I1I, this.Il1IlII1, str);
illIlI1l1I.IIll11IllI1l(this.Il1IlII1);
return illIlI1l1I;
}
@IlI1111llI11I
public Il11lI1III1 Il11lI1III1(@II1lll1lIlIl1 PendingIntent pendingIntent) {
this.lI11111lI1 = pendingIntent;
return this;
}
@IlI1111llI11I
public Il11lI1III1 Il1IlII1(@I1IlI1lI1I1l1 int i) {
this.lIIl1I1I = i;
this.Il11lI1III1 = 0;
return this;
}
@IlI1111llI11I
public Il11lI1III1 Ill1llIIlIlll(boolean z) {
lI11111lI1(2, z);
return this;
}
@IlI1111llI11I
public Il11lI1III1 IlllIll1I1I(boolean z) {
lI11111lI1(1, z);
return this;
}
@IlI1111llI11I
public Il11lI1III1 lI111l1I1llIl(@IlI1111llI11I PendingIntent pendingIntent) {
if (this.lII1lI1Illl != null) {
throw new IllegalStateException("Created as a shortcut bubble, cannot set a PendingIntent. Consider using BubbleMetadata.Builder(PendingIntent,Icon) instead.");
}
if (pendingIntent == null) {
throw new NullPointerException("Bubble requires non-null pending intent");
}
this.IIllIl1llII = pendingIntent;
return this;
}
@IlI1111llI11I
public Il11lI1III1 lII1lI1Illl(@IlI1111llI11I IconCompat iconCompat) {
if (this.lII1lI1Illl != null) {
throw new IllegalStateException("Created as a shortcut bubble, cannot set an Icon. Consider using BubbleMetadata.Builder(PendingIntent,Icon) instead.");
}
if (iconCompat == null) {
throw new NullPointerException("Bubbles require non-null icon");
}
this.IlllIll1I1I = iconCompat;
return this;
}
@IlI1111llI11I
public Il11lI1III1 lIIl1I1I(@IlI1I1ll1lI1(unit = 0) int i) {
this.Il11lI1III1 = Math.max(i, 0);
this.lIIl1I1I = 0;
return this;
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.l11l1l11I1)
public Il11lI1III1(@IlI1111llI11I String str) {
if (TextUtils.isEmpty(str)) {
throw new NullPointerException("Bubble requires a non-null shortcut id");
}
this.lII1lI1Illl = str;
}
public Il11lI1III1(@IlI1111llI11I PendingIntent pendingIntent, @IlI1111llI11I IconCompat iconCompat) {
if (pendingIntent == null) {
throw new NullPointerException("Bubble requires non-null pending intent");
}
if (iconCompat == null) {
throw new NullPointerException("Bubbles require non-null icon");
}
this.IIllIl1llII = pendingIntent;
this.IlllIll1I1I = iconCompat;
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.l11l1l11I1)
private static class IlllIll1I1I {
private IlllIll1I1I() {
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.l11l1l11I1)
@II1lll1lIlIl1
static IllIlI1l1I IIllIl1llII(@II1lll1lIlIl1 Notification.BubbleMetadata bubbleMetadata) {
if (bubbleMetadata == null) {
return null;
}
Il11lI1III1 il11lI1III1 = bubbleMetadata.getShortcutId() != null ? new Il11lI1III1(bubbleMetadata.getShortcutId()) : new Il11lI1III1(bubbleMetadata.getIntent(), IconCompat.l1llllI11l111(bubbleMetadata.getIcon()));
il11lI1III1.IlllIll1I1I(bubbleMetadata.getAutoExpandBubble()).Il11lI1III1(bubbleMetadata.getDeleteIntent()).Ill1llIIlIlll(bubbleMetadata.isNotificationSuppressed());
if (bubbleMetadata.getDesiredHeight() != 0) {
il11lI1III1.lIIl1I1I(bubbleMetadata.getDesiredHeight());
}
if (bubbleMetadata.getDesiredHeightResId() != 0) {
il11lI1III1.Il1IlII1(bubbleMetadata.getDesiredHeightResId());
}
return il11lI1III1.IIllIl1llII();
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.l11l1l11I1)
@II1lll1lIlIl1
static Notification.BubbleMetadata IlllIll1I1I(@II1lll1lIlIl1 IllIlI1l1I illIlI1l1I) {
if (illIlI1l1I == null) {
return null;
}
Notification.BubbleMetadata.Builder builder = illIlI1l1I.lI111l1I1llIl() != null ? new Notification.BubbleMetadata.Builder(illIlI1l1I.lI111l1I1llIl()) : new Notification.BubbleMetadata.Builder(illIlI1l1I.lII1lI1Illl(), illIlI1l1I.lI11111lI1().IlIII1l1l111());
builder.setDeleteIntent(illIlI1l1I.Il11lI1III1()).setAutoExpandBubble(illIlI1l1I.IlllIll1I1I()).setSuppressNotification(illIlI1l1I.Ill1llIIlIlll());
if (illIlI1l1I.lIIl1I1I() != 0) {
builder.setDesiredHeight(illIlI1l1I.lIIl1I1I());
}
if (illIlI1l1I.Il1IlII1() != 0) {
builder.setDesiredHeightResId(illIlI1l1I.Il1IlII1());
}
return builder.build();
}
}
@II1lll1lIlIl1
public static Notification.BubbleMetadata I1Il11llllIl(@II1lll1lIlIl1 IllIlI1l1I illIlI1l1I) {
if (illIlI1l1I == null) {
return null;
}
int i = Build.VERSION.SDK_INT;
if (i >= 30) {
return IlllIll1I1I.IlllIll1I1I(illIlI1l1I);
}
if (i == 29) {
return IIllIl1llII.IlllIll1I1I(illIlI1l1I);
}
return null;
}
@II1lll1lIlIl1
public static IllIlI1l1I IIllIl1llII(@II1lll1lIlIl1 Notification.BubbleMetadata bubbleMetadata) {
if (bubbleMetadata == null) {
return null;
}
int i = Build.VERSION.SDK_INT;
if (i >= 30) {
return IlllIll1I1I.IIllIl1llII(bubbleMetadata);
}
if (i == 29) {
return IIllIl1llII.IIllIl1llII(bubbleMetadata);
}
return null;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IIll11IllI1l(int i) {
this.lI11111lI1 = i;
}
@II1lll1lIlIl1
public PendingIntent Il11lI1III1() {
return this.IlllIll1I1I;
}
@I1IlI1lI1I1l1
public int Il1IlII1() {
return this.Il1IlII1;
}
public boolean Ill1llIIlIlll() {
return (this.lI11111lI1 & 2) != 0;
}
public boolean IlllIll1I1I() {
return (this.lI11111lI1 & 1) != 0;
}
@II1lll1lIlIl1
@SuppressLint({"InvalidNullConversion"})
public IconCompat lI11111lI1() {
return this.Il11lI1III1;
}
@II1lll1lIlIl1
public String lI111l1I1llIl() {
return this.lII1lI1Illl;
}
@II1lll1lIlIl1
@SuppressLint({"InvalidNullConversion"})
public PendingIntent lII1lI1Illl() {
return this.IIllIl1llII;
}
@IlI1I1ll1lI1(unit = 0)
public int lIIl1I1I() {
return this.lIIl1I1I;
}
private IllIlI1l1I(@II1lll1lIlIl1 PendingIntent pendingIntent, @II1lll1lIlIl1 PendingIntent pendingIntent2, @II1lll1lIlIl1 IconCompat iconCompat, int i, @I1IlI1lI1I1l1 int i2, int i3, @II1lll1lIlIl1 String str) {
this.IIllIl1llII = pendingIntent;
this.Il11lI1III1 = iconCompat;
this.lIIl1I1I = i;
this.Il1IlII1 = i2;
this.IlllIll1I1I = pendingIntent2;
this.lI11111lI1 = i3;
this.lII1lI1Illl = str;
}
}
public static class IlllIll1I1I {
public static final int I11ll1l1lI11l = 4;
public static final int III11IIll1lI1 = 2;
public static final int IIIII11lIlIl = 6;
public static final int IIl1I11I1lI1l = 3;
public static final int IIllll1Il1lIl = 9;
public static final int Il11lI1l = 5;
public static final int IllIlI1l1I = 0;
public static final int l1llllI11l111 = 1;
public static final int lI1l11l11ll = 10;
static final String lIl11II1lII = "android.support.action.semanticAction";
public static final int llI1l1l1Il1I = 8;
public static final int llIIlllll111 = 7;
static final String lllIlIl11ll = "android.support.action.showsUserInterface";
@II1lll1lIlIl1
public PendingIntent I1Il11llllIl;
public CharSequence IIll11IllI1l;
final Bundle IIllIl1llII;
private final Ill1lI1ll1Ill[] Il11lI1III1;
private boolean Il1IlII1;
@Deprecated
public int Ill1llIIlIlll;
@II1lll1lIlIl1
private IconCompat IlllIll1I1I;
boolean lI11111lI1;
private final boolean lI111l1I1llIl;
private final int lII1lI1Illl;
private final Ill1lI1ll1Ill[] lIIl1I1I;
private boolean ll11llIII1111;
public static final class IIllIl1llII {
private boolean IIll11IllI1l;
private final IconCompat IIllIl1llII;
private final PendingIntent Il11lI1III1;
private final Bundle Il1IlII1;
private boolean Ill1llIIlIlll;
private final CharSequence IlllIll1I1I;
private ArrayList<Ill1lI1ll1Ill> lI11111lI1;
private boolean lI111l1I1llIl;
private int lII1lI1Illl;
private boolean lIIl1I1I;
@l1l1lI1IIl1I(20)
static class C0101IIllIl1llII {
private C0101IIllIl1llII() {
}
static Bundle IIllIl1llII(Notification.Action action) {
return action.getExtras();
}
static RemoteInput[] IlllIll1I1I(Notification.Action action) {
return action.getRemoteInputs();
}
}
@l1l1lI1IIl1I(24)
static class Il11lI1III1 {
private Il11lI1III1() {
}
static boolean IIllIl1llII(Notification.Action action) {
return action.getAllowGeneratedReplies();
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.I1II1ll1lI1)
static class Il1IlII1 {
private Il1IlII1() {
}
static boolean IIllIl1llII(Notification.Action action) {
return action.isContextual();
}
}
@l1l1lI1IIl1I(23)
static class C0102IlllIll1I1I {
private C0102IlllIll1I1I() {
}
static Icon IIllIl1llII(Notification.Action action) {
return action.getIcon();
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
static class lI11111lI1 {
private lI11111lI1() {
}
static boolean IIllIl1llII(Notification.Action action) {
return action.isAuthenticationRequired();
}
}
@l1l1lI1IIl1I(28)
static class lIIl1I1I {
private lIIl1I1I() {
}
static int IIllIl1llII(Notification.Action action) {
return action.getSemanticAction();
}
}
public IIllIl1llII(@II1lll1lIlIl1 IconCompat iconCompat, @II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 PendingIntent pendingIntent) {
this(iconCompat, charSequence, pendingIntent, new Bundle(), null, true, 0, true, false, false);
}
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public static IIllIl1llII lI11111lI1(@IlI1111llI11I Notification.Action action) {
IIllIl1llII iIllIl1llII = C0102IlllIll1I1I.IIllIl1llII(action) != null ? new IIllIl1llII(IconCompat.III11IIll1lI1(C0102IlllIll1I1I.IIllIl1llII(action)), action.title, action.actionIntent) : new IIllIl1llII(action.icon, action.title, action.actionIntent);
RemoteInput[] IlllIll1I1I = C0101IIllIl1llII.IlllIll1I1I(action);
if (IlllIll1I1I != null && IlllIll1I1I.length != 0) {
for (RemoteInput remoteInput : IlllIll1I1I) {
iIllIl1llII.IlllIll1I1I(Ill1lI1ll1Ill.Il1IlII1(remoteInput));
}
}
int i = Build.VERSION.SDK_INT;
if (i >= 24) {
iIllIl1llII.lIIl1I1I = Il11lI1III1.IIllIl1llII(action);
}
if (i >= 28) {
iIllIl1llII.I1Il11llllIl(lIIl1I1I.IIllIl1llII(action));
}
if (i >= 29) {
iIllIl1llII.IIll11IllI1l(Il1IlII1.IIllIl1llII(action));
}
if (i >= 31) {
iIllIl1llII.Ill1llIIlIlll(lI11111lI1.IIllIl1llII(action));
}
iIllIl1llII.IIllIl1llII(C0101IIllIl1llII.IIllIl1llII(action));
return iIllIl1llII;
}
private void lIIl1I1I() {
if (this.Ill1llIIlIlll && this.Il11lI1III1 == null) {
throw new NullPointerException("Contextual Actions must contain a valid PendingIntent");
}
}
@IlI1111llI11I
public IIllIl1llII I1Il11llllIl(int i) {
this.lII1lI1Illl = i;
return this;
}
@IlI1111llI11I
public IIllIl1llII IIll11IllI1l(boolean z) {
this.Ill1llIIlIlll = z;
return this;
}
@IlI1111llI11I
public IIllIl1llII IIllIl1llII(@II1lll1lIlIl1 Bundle bundle) {
if (bundle != null) {
this.Il1IlII1.putAll(bundle);
}
return this;
}
@IlI1111llI11I
public IlllIll1I1I Il11lI1III1() {
lIIl1I1I();
ArrayList arrayList = new ArrayList();
ArrayList arrayList2 = new ArrayList();
ArrayList<Ill1lI1ll1Ill> arrayList3 = this.lI11111lI1;
if (arrayList3 != null) {
Iterator<Ill1lI1ll1Ill> it = arrayList3.iterator();
while (it.hasNext()) {
Ill1lI1ll1Ill next = it.next();
if (next.Il11lI1l()) {
arrayList.add(next);
} else {
arrayList2.add(next);
}
}
}
return new IlllIll1I1I(this.IIllIl1llII, this.IlllIll1I1I, this.Il11lI1III1, this.Il1IlII1, arrayList2.isEmpty() ? null : (Ill1lI1ll1Ill[]) arrayList2.toArray(new Ill1lI1ll1Ill[arrayList2.size()]), arrayList.isEmpty() ? null : (Ill1lI1ll1Ill[]) arrayList.toArray(new Ill1lI1ll1Ill[arrayList.size()]), this.lIIl1I1I, this.lII1lI1Illl, this.lI111l1I1llIl, this.Ill1llIIlIlll, this.IIll11IllI1l);
}
@IlI1111llI11I
public IIllIl1llII Il1IlII1(@IlI1111llI11I InterfaceC0103IlllIll1I1I interfaceC0103IlllIll1I1I) {
interfaceC0103IlllIll1I1I.IIllIl1llII(this);
return this;
}
@IlI1111llI11I
public IIllIl1llII Ill1llIIlIlll(boolean z) {
this.IIll11IllI1l = z;
return this;
}
@IlI1111llI11I
public IIllIl1llII IlllIll1I1I(@II1lll1lIlIl1 Ill1lI1ll1Ill ill1lI1ll1Ill) {
if (this.lI11111lI1 == null) {
this.lI11111lI1 = new ArrayList<>();
}
if (ill1lI1ll1Ill != null) {
this.lI11111lI1.add(ill1lI1ll1Ill);
}
return this;
}
@IlI1111llI11I
public IIllIl1llII lI111l1I1llIl(boolean z) {
this.lIIl1I1I = z;
return this;
}
@IlI1111llI11I
public Bundle lII1lI1Illl() {
return this.Il1IlII1;
}
@IlI1111llI11I
public IIllIl1llII ll11llIII1111(boolean z) {
this.lI111l1I1llIl = z;
return this;
}
public IIllIl1llII(int i, @II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 PendingIntent pendingIntent) {
this(i != 0 ? IconCompat.lIl11II1lII(null, "", i) : null, charSequence, pendingIntent, new Bundle(), null, true, 0, true, false, false);
}
public IIllIl1llII(@IlI1111llI11I IlllIll1I1I illlIll1I1I) {
this(illlIll1I1I.lI11111lI1(), illlIll1I1I.IIll11IllI1l, illlIll1I1I.I1Il11llllIl, new Bundle(illlIll1I1I.IIllIl1llII), illlIll1I1I.lII1lI1Illl(), illlIll1I1I.IlllIll1I1I(), illlIll1I1I.lI111l1I1llIl(), illlIll1I1I.lI11111lI1, illlIll1I1I.ll11llIII1111(), illlIll1I1I.I1Il11llllIl());
}
private IIllIl1llII(@II1lll1lIlIl1 IconCompat iconCompat, @II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 PendingIntent pendingIntent, @IlI1111llI11I Bundle bundle, @II1lll1lIlIl1 Ill1lI1ll1Ill[] ill1lI1ll1IllArr, boolean z, int i, boolean z2, boolean z3, boolean z4) {
this.lIIl1I1I = true;
this.lI111l1I1llIl = true;
this.IIllIl1llII = iconCompat;
this.IlllIll1I1I = l1llllI11l111.ll1IlI11lll1l(charSequence);
this.Il11lI1III1 = pendingIntent;
this.Il1IlII1 = bundle;
this.lI11111lI1 = ill1lI1ll1IllArr == null ? null : new ArrayList<>(Arrays.asList(ill1lI1ll1IllArr));
this.lIIl1I1I = z;
this.lII1lI1Illl = i;
this.lI111l1I1llIl = z2;
this.Ill1llIIlIlll = z3;
this.IIll11IllI1l = z4;
}
}
@Retention(RetentionPolicy.SOURCE)
public @interface Il11lI1III1 {
}
public interface InterfaceC0103IlllIll1I1I {
@IlI1111llI11I
IIllIl1llII IIllIl1llII(@IlI1111llI11I IIllIl1llII iIllIl1llII);
}
public static final class lIIl1I1I implements InterfaceC0103IlllIll1I1I {
private static final int I1Il11llllIl = 2;
private static final int IIll11IllI1l = 1;
private static final String Il1IlII1 = "android.wearable.EXTENSIONS";
private static final String Ill1llIIlIlll = "cancelLabel";
private static final int IllIlI1l1I = 1;
private static final String lI11111lI1 = "flags";
private static final String lI111l1I1llIl = "confirmLabel";
private static final String lII1lI1Illl = "inProgressLabel";
private static final int ll11llIII1111 = 4;
private int IIllIl1llII;
private CharSequence Il11lI1III1;
private CharSequence IlllIll1I1I;
private CharSequence lIIl1I1I;
public lIIl1I1I() {
this.IIllIl1llII = 1;
}
private void ll11llIII1111(int i, boolean z) {
if (z) {
this.IIllIl1llII = i | this.IIllIl1llII;
} else {
this.IIllIl1llII = (~i) & this.IIllIl1llII;
}
}
@IlI1111llI11I
@Deprecated
public lIIl1I1I I1Il11llllIl(@II1lll1lIlIl1 CharSequence charSequence) {
this.Il11lI1III1 = charSequence;
return this;
}
@IlI1111llI11I
@Deprecated
public lIIl1I1I III11IIll1lI1(@II1lll1lIlIl1 CharSequence charSequence) {
this.IlllIll1I1I = charSequence;
return this;
}
@IlI1111llI11I
@Deprecated
public lIIl1I1I IIll11IllI1l(@II1lll1lIlIl1 CharSequence charSequence) {
this.lIIl1I1I = charSequence;
return this;
}
@Override
@IlI1111llI11I
public IIllIl1llII IIllIl1llII(@IlI1111llI11I IIllIl1llII iIllIl1llII) {
Bundle bundle = new Bundle();
int i = this.IIllIl1llII;
if (i != 1) {
bundle.putInt(lI11111lI1, i);
}
CharSequence charSequence = this.IlllIll1I1I;
if (charSequence != null) {
bundle.putCharSequence(lII1lI1Illl, charSequence);
}
CharSequence charSequence2 = this.Il11lI1III1;
if (charSequence2 != null) {
bundle.putCharSequence(lI111l1I1llIl, charSequence2);
}
CharSequence charSequence3 = this.lIIl1I1I;
if (charSequence3 != null) {
bundle.putCharSequence(Ill1llIIlIlll, charSequence3);
}
iIllIl1llII.lII1lI1Illl().putBundle(Il1IlII1, bundle);
return iIllIl1llII;
}
@II1lll1lIlIl1
@Deprecated
public CharSequence Il11lI1III1() {
return this.lIIl1I1I;
}
public boolean Il1IlII1() {
return (this.IIllIl1llII & 4) != 0;
}
@IlI1111llI11I
public lIIl1I1I Ill1llIIlIlll(boolean z) {
ll11llIII1111(1, z);
return this;
}
@IlI1111llI11I
public lIIl1I1I IllIlI1l1I(boolean z) {
ll11llIII1111(4, z);
return this;
}
@IlI1111llI11I
public lIIl1I1I clone() {
lIIl1I1I liil1i1i = new lIIl1I1I();
liil1i1i.IIllIl1llII = this.IIllIl1llII;
liil1i1i.IlllIll1I1I = this.IlllIll1I1I;
liil1i1i.Il11lI1III1 = this.Il11lI1III1;
liil1i1i.lIIl1I1I = this.lIIl1I1I;
return liil1i1i;
}
@IlI1111llI11I
public lIIl1I1I l1llllI11l111(boolean z) {
ll11llIII1111(2, z);
return this;
}
public boolean lI11111lI1() {
return (this.IIllIl1llII & 2) != 0;
}
public boolean lI111l1I1llIl() {
return (this.IIllIl1llII & 1) != 0;
}
@II1lll1lIlIl1
@Deprecated
public CharSequence lII1lI1Illl() {
return this.IlllIll1I1I;
}
@II1lll1lIlIl1
@Deprecated
public CharSequence lIIl1I1I() {
return this.Il11lI1III1;
}
public lIIl1I1I(@IlI1111llI11I IlllIll1I1I illlIll1I1I) {
this.IIllIl1llII = 1;
Bundle bundle = illlIll1I1I.lIIl1I1I().getBundle(Il1IlII1);
if (bundle != null) {
this.IIllIl1llII = bundle.getInt(lI11111lI1, 1);
this.IlllIll1I1I = bundle.getCharSequence(lII1lI1Illl);
this.Il11lI1III1 = bundle.getCharSequence(lI111l1I1llIl);
this.lIIl1I1I = bundle.getCharSequence(Ill1llIIlIlll);
}
}
}
public IlllIll1I1I(int i, @II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 PendingIntent pendingIntent) {
this(i != 0 ? IconCompat.lIl11II1lII(null, "", i) : null, charSequence, pendingIntent);
}
public boolean I1Il11llllIl() {
return this.ll11llIII1111;
}
@II1lll1lIlIl1
public CharSequence IIll11IllI1l() {
return this.IIll11IllI1l;
}
@II1lll1lIlIl1
public PendingIntent IIllIl1llII() {
return this.I1Il11llllIl;
}
@II1lll1lIlIl1
public Ill1lI1ll1Ill[] Il11lI1III1() {
return this.lIIl1I1I;
}
@Deprecated
public int Il1IlII1() {
return this.Ill1llIIlIlll;
}
public boolean Ill1llIIlIlll() {
return this.lI11111lI1;
}
public boolean IlllIll1I1I() {
return this.Il1IlII1;
}
@II1lll1lIlIl1
public IconCompat lI11111lI1() {
int i;
if (this.IlllIll1I1I == null && (i = this.Ill1llIIlIlll) != 0) {
this.IlllIll1I1I = IconCompat.lIl11II1lII(null, "", i);
}
return this.IlllIll1I1I;
}
public int lI111l1I1llIl() {
return this.lII1lI1Illl;
}
@II1lll1lIlIl1
public Ill1lI1ll1Ill[] lII1lI1Illl() {
return this.Il11lI1III1;
}
@IlI1111llI11I
public Bundle lIIl1I1I() {
return this.IIllIl1llII;
}
public boolean ll11llIII1111() {
return this.lI111l1I1llIl;
}
public IlllIll1I1I(@II1lll1lIlIl1 IconCompat iconCompat, @II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 PendingIntent pendingIntent) {
this(iconCompat, charSequence, pendingIntent, new Bundle(), (Ill1lI1ll1Ill[]) null, (Ill1lI1ll1Ill[]) null, true, 0, true, false, false);
}
IlllIll1I1I(int i, @II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 PendingIntent pendingIntent, @II1lll1lIlIl1 Bundle bundle, @II1lll1lIlIl1 Ill1lI1ll1Ill[] ill1lI1ll1IllArr, @II1lll1lIlIl1 Ill1lI1ll1Ill[] ill1lI1ll1IllArr2, boolean z, int i2, boolean z2, boolean z3, boolean z4) {
this(i != 0 ? IconCompat.lIl11II1lII(null, "", i) : null, charSequence, pendingIntent, bundle, ill1lI1ll1IllArr, ill1lI1ll1IllArr2, z, i2, z2, z3, z4);
}
IlllIll1I1I(@II1lll1lIlIl1 IconCompat iconCompat, @II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 PendingIntent pendingIntent, @II1lll1lIlIl1 Bundle bundle, @II1lll1lIlIl1 Ill1lI1ll1Ill[] ill1lI1ll1IllArr, @II1lll1lIlIl1 Ill1lI1ll1Ill[] ill1lI1ll1IllArr2, boolean z, int i, boolean z2, boolean z3, boolean z4) {
this.lI11111lI1 = true;
this.IlllIll1I1I = iconCompat;
if (iconCompat != null && iconCompat.I1II1ll1lI1() == 2) {
this.Ill1llIIlIlll = iconCompat.ll1IlI11lll1l();
}
this.IIll11IllI1l = l1llllI11l111.ll1IlI11lll1l(charSequence);
this.I1Il11llllIl = pendingIntent;
this.IIllIl1llII = bundle == null ? new Bundle() : bundle;
this.Il11lI1III1 = ill1lI1ll1IllArr;
this.lIIl1I1I = ill1lI1ll1IllArr2;
this.Il1IlII1 = z;
this.lII1lI1Illl = i;
this.lI11111lI1 = z2;
this.lI111l1I1llIl = z3;
this.ll11llIII1111 = z4;
}
}
@l1l1lI1IIl1I(26)
static class lI11111lI1 {
private lI11111lI1() {
}
static int IIllIl1llII(Notification notification) {
return notification.getBadgeIconType();
}
static int Il11lI1III1(Notification notification) {
return notification.getGroupAlertBehavior();
}
static String Il1IlII1(Notification notification) {
return notification.getShortcutId();
}
static String IlllIll1I1I(Notification notification) {
return notification.getChannelId();
}
static long lI11111lI1(Notification notification) {
return notification.getTimeoutAfter();
}
static CharSequence lIIl1I1I(Notification notification) {
return notification.getSettingsText();
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.I1II1ll1lI1)
static class lI111l1I1llIl {
private lI111l1I1llIl() {
}
static boolean IIllIl1llII(Notification notification) {
return notification.getAllowSystemGeneratedContextualActions();
}
static int Il11lI1III1(RemoteInput remoteInput) {
return remoteInput.getEditChoicesBeforeSending();
}
static boolean Il1IlII1(Notification.Action action) {
return action.isContextual();
}
static Notification.BubbleMetadata IlllIll1I1I(Notification notification) {
return notification.getBubbleMetadata();
}
static LocusId lIIl1I1I(Notification notification) {
return notification.getLocusId();
}
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@Retention(RetentionPolicy.SOURCE)
public @interface lI1l11l11ll {
}
@l1l1lI1IIl1I(28)
static class lII1lI1Illl {
private lII1lI1Illl() {
}
static int IIllIl1llII(Notification.Action action) {
return action.getSemanticAction();
}
}
@l1l1lI1IIl1I(23)
static class lIIl1I1I {
private lIIl1I1I() {
}
static Icon IIllIl1llII(Notification.Action action) {
return action.getIcon();
}
}
public static abstract class lIl11II1lII {
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected l1llllI11l111 IIllIl1llII;
CharSequence Il11lI1III1;
CharSequence IlllIll1I1I;
boolean lIIl1I1I = false;
@l1l1lI1IIl1I(24)
static class IIllIl1llII {
private IIllIl1llII() {
}
static void IIllIl1llII(RemoteViews remoteViews, int i, boolean z) {
remoteViews.setChronometerCountDown(i, z);
}
}
private Bitmap I11ll1l1lI11l(int i, int i2, int i3, int i4) {
int i5 = l11Ill1111ll.lIIl1I1I.l1llllI11l111;
if (i4 == 0) {
i4 = 0;
}
Bitmap l1llllI11l111 = l1llllI11l111(i5, i4, i2);
Canvas canvas = new Canvas(l1llllI11l111);
Drawable mutate = this.IIllIl1llII.IIllIl1llII.getResources().getDrawable(i).mutate();
mutate.setFilterBitmap(true);
int i6 = (i2 - i3) / 2;
int i7 = i3 + i6;
mutate.setBounds(i6, i6, i7, i7);
mutate.setColorFilter(new PorterDuffColorFilter(-1, PorterDuff.Mode.SRC_ATOP));
mutate.draw(canvas);
return l1llllI11l111;
}
@II1lll1lIlIl1
static lIl11II1lII I1Il11llllIl(@IlI1111llI11I Bundle bundle) {
lIl11II1lII Ill1llIIlIlll = Ill1llIIlIlll(bundle.getString(l1llIII11l.Il1I1l111l1l));
return Ill1llIIlIlll != null ? Ill1llIIlIlll : (bundle.containsKey(l1llIII11l.IlIl1llIlIl1) || bundle.containsKey(l1llIII11l.l1Illll1lI)) ? new llI1l1l1Il1I() : (bundle.containsKey(l1llIII11l.II11lIlI1lll1) || bundle.containsKey(l1llIII11l.Ill11IIlII1)) ? new I1Il11llllIl() : bundle.containsKey(l1llIII11l.l11llI1Ill1) ? new ll11llIII1111() : bundle.containsKey(l1llIII11l.I1Il1l11II1lI) ? new llIIlllll111() : bundle.containsKey(l1llIII11l.I1ll1lIII1lIl) ? new III11IIll1lI1() : IIll11IllI1l(bundle.getString(l1llIII11l.lIlI1IIllI1));
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@II1lll1lIlIl1
public static lIl11II1lII IIIII11lIlIl(@IlI1111llI11I Notification notification) {
Bundle l1llllI11l111 = l1llIII11l.l1llllI11l111(notification);
if (l1llllI11l111 == null) {
return null;
}
return ll11llIII1111(l1llllI11l111);
}
private Bitmap IIl1I11I1lI1l(@IlI1111llI11I IconCompat iconCompat, int i, int i2) {
Drawable l1I11II1llI1I = iconCompat.l1I11II1llI1I(this.IIllIl1llII.IIllIl1llII);
int intrinsicWidth = i2 == 0 ? l1I11II1llI1I.getIntrinsicWidth() : i2;
if (i2 == 0) {
i2 = l1I11II1llI1I.getIntrinsicHeight();
}
Bitmap createBitmap = Bitmap.createBitmap(intrinsicWidth, i2, Bitmap.Config.ARGB_8888);
l1I11II1llI1I.setBounds(0, 0, intrinsicWidth, i2);
if (i != 0) {
l1I11II1llI1I.mutate().setColorFilter(new PorterDuffColorFilter(i, PorterDuff.Mode.SRC_IN));
}
l1I11II1llI1I.draw(new Canvas(createBitmap));
return createBitmap;
}
@II1lll1lIlIl1
private static lIl11II1lII IIll11IllI1l(@II1lll1lIlIl1 String str) {
if (str == null) {
return null;
}
if (str.equals(Notification.BigPictureStyle.class.getName())) {
return new I1Il11llllIl();
}
if (str.equals(Notification.BigTextStyle.class.getName())) {
return new ll11llIII1111();
}
if (str.equals(Notification.InboxStyle.class.getName())) {
return new llIIlllll111();
}
if (Build.VERSION.SDK_INT >= 24) {
if (str.equals(I1lIl1I11lll.IIllIl1llII().getName())) {
return new llI1l1l1Il1I();
}
if (str.equals(l1IlIlIl.IIllIl1llII().getName())) {
return new I11ll1l1lI11l();
}
}
return null;
}
@II1lll1lIlIl1
static lIl11II1lII Ill1llIIlIlll(@II1lll1lIlIl1 String str) {
if (str == null) {
return null;
}
switch (str) {
case "androidx.core.app.NotificationCompat$DecoratedCustomViewStyle":
return new I11ll1l1lI11l();
case "androidx.core.app.NotificationCompat$BigPictureStyle":
return new I1Il11llllIl();
case "androidx.core.app.NotificationCompat$CallStyle":
return new III11IIll1lI1();
case "androidx.core.app.NotificationCompat$InboxStyle":
return new llIIlllll111();
case "androidx.core.app.NotificationCompat$BigTextStyle":
return new ll11llIII1111();
case "androidx.core.app.NotificationCompat$MessagingStyle":
return new llI1l1l1Il1I();
default:
return null;
}
}
private Bitmap l1llllI11l111(int i, int i2, int i3) {
return IIl1I11I1lI1l(IconCompat.lllIlIl11ll(this.IIllIl1llII.IIllIl1llII, i), i2, i3);
}
private int lI11111lI1() {
Resources resources = this.IIllIl1llII.IIllIl1llII.getResources();
int dimensionPixelSize = resources.getDimensionPixelSize(l11Ill1111ll.Il11lI1III1.llI1l1l1Il1I);
int dimensionPixelSize2 = resources.getDimensionPixelSize(l11Ill1111ll.Il11lI1III1.IIllll1Il1lIl);
float lI111l1I1llIl = (lI111l1I1llIl(resources.getConfiguration().fontScale, 1.0f, 1.3f) - 1.0f) / 0.29999995f;
return Math.round(((1.0f - lI111l1I1llIl) * dimensionPixelSize) + (lI111l1I1llIl * dimensionPixelSize2));
}
private static float lI111l1I1llIl(float f, float f2, float f3) {
return f < f2 ? f2 : f > f3 ? f3 : f;
}
@II1lll1lIlIl1
static lIl11II1lII ll11llIII1111(@IlI1111llI11I Bundle bundle) {
lIl11II1lII I1Il11llllIl = I1Il11llllIl(bundle);
if (I1Il11llllIl == null) {
return null;
}
try {
I1Il11llllIl.lIl11II1lII(bundle);
return I1Il11llllIl;
} catch (ClassCastException unused) {
return null;
}
}
private void llI1l1l1Il1I(RemoteViews remoteViews) {
remoteViews.setViewVisibility(l11Ill1111ll.Il1IlII1.I1IlI1I1lIIl1, 8);
remoteViews.setViewVisibility(l11Ill1111ll.Il1IlII1.lIll11IlII1Il, 8);
remoteViews.setViewVisibility(l11Ill1111ll.Il1IlII1.l1ll1IllII11, 8);
}
Bitmap III11IIll1lI1(@IlI1111llI11I IconCompat iconCompat, int i) {
return IIl1I11I1lI1l(iconCompat, i, 0);
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IIllIl1llII(@IlI1111llI11I Bundle bundle) {
if (this.lIIl1I1I) {
bundle.putCharSequence(l1llIII11l.IIl1ll1ll1l, this.Il11lI1III1);
}
CharSequence charSequence = this.IlllIll1I1I;
if (charSequence != null) {
bundle.putCharSequence(l1llIII11l.Il11lIlllll1, charSequence);
}
String llIIlllll111 = llIIlllll111();
if (llIIlllll111 != null) {
bundle.putString(l1llIII11l.Il1I1l111l1l, llIIlllll111);
}
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public RemoteViews IIllll1Il1lIl(I1ll11I i1ll11I) {
return null;
}
@com.lijianqiang12.silent.IlI1111llI11I
@com.lijianqiang12.silent.lIIIl1IlI1llI({com.lijianqiang12.silent.lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public android.widget.RemoteViews Il11lI1III1(boolean r13, int r14, boolean r15) {
throw new UnsupportedOperationException("Method not decompiled: com.lijianqiang12.silent.l1llIII11l.lIl11II1lII.Il11lI1III1(boolean, int, boolean):android.widget.RemoteViews");
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public boolean Il11lI1l() {
return false;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void Il1IlII1(RemoteViews remoteViews, RemoteViews remoteViews2) {
llI1l1l1Il1I(remoteViews);
remoteViews.removeAllViews(l11Ill1111ll.Il1IlII1.IIlIlIlI111ll);
remoteViews.addView(l11Ill1111ll.Il1IlII1.IIlIlIlI111ll, remoteViews2.clone());
remoteViews.setViewVisibility(l11Ill1111ll.Il1IlII1.IIlIlIlI111ll, 0);
remoteViews.setViewPadding(l11Ill1111ll.Il1IlII1.IlII1l1l1IIlI, 0, lI11111lI1(), 0, 0);
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public Bitmap IllIlI1l1I(int i, int i2) {
return l1llllI11l111(i, i2, 0);
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IlllIll1I1I(I1ll11I i1ll11I) {
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public RemoteViews lI1l11l11ll(I1ll11I i1ll11I) {
return null;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lII1lI1Illl(@IlI1111llI11I Bundle bundle) {
bundle.remove(l1llIII11l.IIl1ll1ll1l);
bundle.remove(l1llIII11l.Il11lIlllll1);
bundle.remove(l1llIII11l.Il1I1l111l1l);
}
@II1lll1lIlIl1
public Notification lIIl1I1I() {
l1llllI11l111 l1lllli11l111 = this.IIllIl1llII;
if (l1lllli11l111 != null) {
return l1lllli11l111.lI111l1I1llIl();
}
return null;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lIl11II1lII(@IlI1111llI11I Bundle bundle) {
if (bundle.containsKey(l1llIII11l.IIl1ll1ll1l)) {
this.Il11lI1III1 = bundle.getCharSequence(l1llIII11l.IIl1ll1ll1l);
this.lIIl1I1I = true;
}
this.IlllIll1I1I = bundle.getCharSequence(l1llIII11l.Il11lIlllll1);
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@II1lll1lIlIl1
protected String llIIlllll111() {
return null;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public RemoteViews lllIlIl11ll(I1ll11I i1ll11I) {
return null;
}
public void llll1IlllIl1(@II1lll1lIlIl1 l1llllI11l111 l1lllli11l111) {
if (this.IIllIl1llII != l1lllli11l111) {
this.IIllIl1llII = l1lllli11l111;
if (l1lllli11l111 != null) {
l1lllli11l111.l1llI1111I1lI(this);
}
}
}
}
public static class ll11llIII1111 extends lIl11II1lII {
private static final String lI11111lI1 = "androidx.core.app.NotificationCompat$BigTextStyle";
private CharSequence Il1IlII1;
public ll11llIII1111() {
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IIllIl1llII(@IlI1111llI11I Bundle bundle) {
super.IIllIl1llII(bundle);
}
@IlI1111llI11I
public ll11llIII1111 Il11lIlllll1(@II1lll1lIlIl1 CharSequence charSequence) {
this.Il11lI1III1 = l1llllI11l111.ll1IlI11lll1l(charSequence);
this.lIIl1I1I = true;
return this;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IlllIll1I1I(I1ll11I i1ll11I) {
Notification.BigTextStyle bigText = new Notification.BigTextStyle(i1ll11I.IIllIl1llII()).setBigContentTitle(this.IlllIll1I1I).bigText(this.Il1IlII1);
if (this.lIIl1I1I) {
bigText.setSummaryText(this.Il11lI1III1);
}
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lII1lI1Illl(@IlI1111llI11I Bundle bundle) {
super.lII1lI1Illl(bundle);
bundle.remove(l1llIII11l.l11llI1Ill1);
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lIl11II1lII(@IlI1111llI11I Bundle bundle) {
super.lIl11II1lII(bundle);
this.Il1IlII1 = bundle.getCharSequence(l1llIII11l.l11llI1Ill1);
}
@IlI1111llI11I
public ll11llIII1111 ll11111llIl(@II1lll1lIlIl1 CharSequence charSequence) {
this.IlllIll1I1I = l1llllI11l111.ll1IlI11lll1l(charSequence);
return this;
}
@IlI1111llI11I
public ll11llIII1111 ll1IlI11lll1l(@II1lll1lIlIl1 CharSequence charSequence) {
this.Il1IlII1 = l1llllI11l111.ll1IlI11lll1l(charSequence);
return this;
}
@Override
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected String llIIlllll111() {
return lI11111lI1;
}
public ll11llIII1111(@II1lll1lIlIl1 l1llllI11l111 l1lllli11l111) {
llll1IlllIl1(l1lllli11l111);
}
}
public static class llI1l1l1Il1I extends lIl11II1lII {
public static final int I1Il11llllIl = 25;
private static final String IIll11IllI1l = "androidx.core.app.NotificationCompat$MessagingStyle";
@II1lll1lIlIl1
private Boolean Ill1llIIlIlll;
@II1lll1lIlIl1
private CharSequence lI111l1I1llIl;
private I1lIIlI1lIII lII1lI1Illl;
private final List<lIIl1I1I> Il1IlII1 = new ArrayList();
private final List<lIIl1I1I> lI11111lI1 = new ArrayList();
@l1l1lI1IIl1I(24)
static class IIllIl1llII {
private IIllIl1llII() {
}
static Notification.MessagingStyle IIllIl1llII(Notification.MessagingStyle messagingStyle, Notification.MessagingStyle.Message message) {
return messagingStyle.addMessage(message);
}
static Notification.MessagingStyle Il11lI1III1(Notification.MessagingStyle messagingStyle, CharSequence charSequence) {
return messagingStyle.setConversationTitle(charSequence);
}
static Notification.MessagingStyle IlllIll1I1I(CharSequence charSequence) {
return new Notification.MessagingStyle(charSequence);
}
}
@l1l1lI1IIl1I(28)
static class Il11lI1III1 {
private Il11lI1III1() {
}
static Notification.MessagingStyle IIllIl1llII(Person person) {
return new Notification.MessagingStyle(person);
}
static Notification.MessagingStyle IlllIll1I1I(Notification.MessagingStyle messagingStyle, boolean z) {
return messagingStyle.setGroupConversation(z);
}
}
@l1l1lI1IIl1I(26)
static class IlllIll1I1I {
private IlllIll1I1I() {
}
static Notification.MessagingStyle IIllIl1llII(Notification.MessagingStyle messagingStyle, Notification.MessagingStyle.Message message) {
return messagingStyle.addHistoricMessage(message);
}
}
llI1l1l1Il1I() {
}
private boolean IlIII1l1l111() {
for (int size = this.Il1IlII1.size() - 1; size >= 0; size--) {
lIIl1I1I liil1i1i = this.Il1IlII1.get(size);
if (liil1i1i.lII1lI1Illl() != null && liil1i1i.lII1lI1Illl().lI11111lI1() == null) {
return true;
}
}
return false;
}
@II1lll1lIlIl1
public static llI1l1l1Il1I l11l1l11I1(@IlI1111llI11I Notification notification) {
lIl11II1lII IIIII11lIlIl = lIl11II1lII.IIIII11lIlIl(notification);
if (IIIII11lIlIl instanceof llI1l1l1Il1I) {
return (llI1l1l1Il1I) IIIII11lIlIl;
}
return null;
}
@IlI1111llI11I
private TextAppearanceSpan lI11lI1l1(int i) {
return new TextAppearanceSpan(null, 0, 0, ColorStateList.valueOf(i), null);
}
@II1lll1lIlIl1
private lIIl1I1I lI11lI1llIl11() {
for (int size = this.Il1IlII1.size() - 1; size >= 0; size--) {
lIIl1I1I liil1i1i = this.Il1IlII1.get(size);
if (liil1i1i.lII1lI1Illl() != null && !TextUtils.isEmpty(liil1i1i.lII1lI1Illl().lI11111lI1())) {
return liil1i1i;
}
}
if (this.Il1IlII1.isEmpty()) {
return null;
}
return this.Il1IlII1.get(r0.size() - 1);
}
private CharSequence lllIl1ll1l1I(@IlI1111llI11I lIIl1I1I liil1i1i) {
I11IIII11II11 Il11lI1III12 = I11IIII11II11.Il11lI1III1();
SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder();
CharSequence lI11111lI1 = liil1i1i.lII1lI1Illl() == null ? "" : liil1i1i.lII1lI1Illl().lI11111lI1();
boolean isEmpty = TextUtils.isEmpty(lI11111lI1);
int i = ll11I11llII.lIl11II1lII;
if (isEmpty) {
lI11111lI1 = this.lII1lI1Illl.lI11111lI1();
if (this.IIllIl1llII.Il11lI1l() != 0) {
i = this.IIllIl1llII.Il11lI1l();
}
}
CharSequence IllIlI1l1I = Il11lI1III12.IllIlI1l1I(lI11111lI1);
spannableStringBuilder.append(IllIlI1l1I);
spannableStringBuilder.setSpan(lI11lI1l1(i), spannableStringBuilder.length() - IllIlI1l1I.length(), spannableStringBuilder.length(), 33);
spannableStringBuilder.append((CharSequence) " ").append(Il11lI1III12.IllIlI1l1I(liil1i1i.Ill1llIIlIlll() != null ? liil1i1i.Ill1llIIlIlll() : ""));
return spannableStringBuilder;
}
@IlI1111llI11I
@Deprecated
public llI1l1l1Il1I I1II1ll1lI1(@II1lll1lIlIl1 CharSequence charSequence, long j, @II1lll1lIlIl1 CharSequence charSequence2) {
this.Il1IlII1.add(new lIIl1I1I(charSequence, j, new I1lIIlI1lIII.Il11lI1III1().lI11111lI1(charSequence2).IIllIl1llII()));
if (this.Il1IlII1.size() > 25) {
this.Il1IlII1.remove(0);
}
return this;
}
@IlI1111llI11I
public llI1l1l1Il1I I1IlIl1llII(@II1lll1lIlIl1 CharSequence charSequence) {
this.lI111l1I1llIl = charSequence;
return this;
}
@IlI1111llI11I
public List<lIIl1I1I> IIl1ll1ll1l() {
return this.lI11111lI1;
}
@Override
public void IIllIl1llII(@IlI1111llI11I Bundle bundle) {
super.IIllIl1llII(bundle);
bundle.putCharSequence(l1llIII11l.IlIl1llIlIl1, this.lII1lI1Illl.lI11111lI1());
bundle.putBundle(l1llIII11l.l1Illll1lI, this.lII1lI1Illl.IllIlI1l1I());
bundle.putCharSequence(l1llIII11l.llllII1llIlI, this.lI111l1I1llIl);
if (this.lI111l1I1llIl != null && this.Ill1llIIlIlll.booleanValue()) {
bundle.putCharSequence(l1llIII11l.ll11lIII1lll, this.lI111l1I1llIl);
}
if (!this.Il1IlII1.isEmpty()) {
bundle.putParcelableArray(l1llIII11l.Il1l1IIIl1ll, lIIl1I1I.IIllIl1llII(this.Il1IlII1));
}
if (!this.lI11111lI1.isEmpty()) {
bundle.putParcelableArray(l1llIII11l.l1IlI1II1IIll, lIIl1I1I.IIllIl1llII(this.lI11111lI1));
}
Boolean bool = this.Ill1llIIlIlll;
if (bool != null) {
bundle.putBoolean(l1llIII11l.Illllll1Illl, bool.booleanValue());
}
}
@IlI1111llI11I
public llI1l1l1Il1I Il11lIlllll1(@II1lll1lIlIl1 CharSequence charSequence, long j, @II1lll1lIlIl1 I1lIIlI1lIII i1lIIlI1lIII) {
ll11111llIl(new lIIl1I1I(charSequence, j, i1lIIlI1lIII));
return this;
}
@IlI1111llI11I
public I1lIIlI1lIII Ill1l11ll11l() {
return this.lII1lI1Illl;
}
@II1lll1lIlIl1
@Deprecated
public CharSequence IllII1lIII() {
return this.lII1lI1Illl.lI11111lI1();
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IlllIll1I1I(I1ll11I i1ll11I) {
ll1I1I1IIIl1I(llll11l11l1());
int i = Build.VERSION.SDK_INT;
if (i >= 24) {
Notification.MessagingStyle IIllIl1llII2 = i >= 28 ? Il11lI1III1.IIllIl1llII(this.lII1lI1Illl.I1Il11llllIl()) : IIllIl1llII.IlllIll1I1I(this.lII1lI1Illl.lI11111lI1());
Iterator<lIIl1I1I> it = this.Il1IlII1.iterator();
while (it.hasNext()) {
IIllIl1llII.IIllIl1llII(I1IIII1lII1ll.IIllIl1llII(IIllIl1llII2), it.next().ll11llIII1111());
}
if (Build.VERSION.SDK_INT >= 26) {
Iterator<lIIl1I1I> it2 = this.lI11111lI1.iterator();
while (it2.hasNext()) {
IlllIll1I1I.IIllIl1llII(I1IIII1lII1ll.IIllIl1llII(IIllIl1llII2), it2.next().ll11llIII1111());
}
}
if (this.Ill1llIIlIlll.booleanValue() || Build.VERSION.SDK_INT >= 28) {
IIllIl1llII.Il11lI1III1(I1IIII1lII1ll.IIllIl1llII(IIllIl1llII2), this.lI111l1I1llIl);
}
if (Build.VERSION.SDK_INT >= 28) {
Il11lI1III1.IlllIll1I1I(I1IIII1lII1ll.IIllIl1llII(IIllIl1llII2), this.Ill1llIIlIlll.booleanValue());
}
IIllIl1llII2.setBuilder(i1ll11I.IIllIl1llII());
return;
}
lIIl1I1I lI11lI1llIl11 = lI11lI1llIl11();
if (this.lI111l1I1llIl != null && this.Ill1llIIlIlll.booleanValue()) {
i1ll11I.IIllIl1llII().setContentTitle(this.lI111l1I1llIl);
} else if (lI11lI1llIl11 != null) {
i1ll11I.IIllIl1llII().setContentTitle("");
if (lI11lI1llIl11.lII1lI1Illl() != null) {
i1ll11I.IIllIl1llII().setContentTitle(lI11lI1llIl11.lII1lI1Illl().lI11111lI1());
}
}
if (lI11lI1llIl11 != null) {
i1ll11I.IIllIl1llII().setContentText(this.lI111l1I1llIl != null ? lllIl1ll1l1I(lI11lI1llIl11) : lI11lI1llIl11.Ill1llIIlIlll());
}
SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder();
boolean z = this.lI111l1I1llIl != null || IlIII1l1l111();
for (int size = this.Il1IlII1.size() - 1; size >= 0; size--) {
lIIl1I1I liil1i1i = this.Il1IlII1.get(size);
CharSequence lllIl1ll1l1I = z ? lllIl1ll1l1I(liil1i1i) : liil1i1i.Ill1llIIlIlll();
if (size != this.Il1IlII1.size() - 1) {
spannableStringBuilder.insert(0, (CharSequence) "\n");
}
spannableStringBuilder.insert(0, lllIl1ll1l1I);
}
new Notification.BigTextStyle(i1ll11I.IIllIl1llII()).setBigContentTitle(null).bigText(spannableStringBuilder);
}
@IlI1111llI11I
public List<lIIl1I1I> l11llI1Ill1() {
return this.Il1IlII1;
}
@II1lll1lIlIl1
public CharSequence l1I11II1llI1I() {
return this.lI111l1I1llIl;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lII1lI1Illl(@IlI1111llI11I Bundle bundle) {
super.lII1lI1Illl(bundle);
bundle.remove(l1llIII11l.l1Illll1lI);
bundle.remove(l1llIII11l.IlIl1llIlIl1);
bundle.remove(l1llIII11l.ll11lIII1lll);
bundle.remove(l1llIII11l.llllII1llIlI);
bundle.remove(l1llIII11l.Il1l1IIIl1ll);
bundle.remove(l1llIII11l.l1IlI1II1IIll);
bundle.remove(l1llIII11l.Illllll1Illl);
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lIl11II1lII(@IlI1111llI11I Bundle bundle) {
super.lIl11II1lII(bundle);
this.Il1IlII1.clear();
if (bundle.containsKey(l1llIII11l.l1Illll1lI)) {
this.lII1lI1Illl = I1lIIlI1lIII.IlllIll1I1I(bundle.getBundle(l1llIII11l.l1Illll1lI));
} else {
this.lII1lI1Illl = new I1lIIlI1lIII.Il11lI1III1().lI11111lI1(bundle.getString(l1llIII11l.IlIl1llIlIl1)).IIllIl1llII();
}
CharSequence charSequence = bundle.getCharSequence(l1llIII11l.ll11lIII1lll);
this.lI111l1I1llIl = charSequence;
if (charSequence == null) {
this.lI111l1I1llIl = bundle.getCharSequence(l1llIII11l.llllII1llIlI);
}
Parcelable[] parcelableArray = bundle.getParcelableArray(l1llIII11l.Il1l1IIIl1ll);
if (parcelableArray != null) {
this.Il1IlII1.addAll(lIIl1I1I.lI11111lI1(parcelableArray));
}
Parcelable[] parcelableArray2 = bundle.getParcelableArray(l1llIII11l.l1IlI1II1IIll);
if (parcelableArray2 != null) {
this.lI11111lI1.addAll(lIIl1I1I.lI11111lI1(parcelableArray2));
}
if (bundle.containsKey(l1llIII11l.Illllll1Illl)) {
this.Ill1llIIlIlll = Boolean.valueOf(bundle.getBoolean(l1llIII11l.Illllll1Illl));
}
}
@IlI1111llI11I
public llI1l1l1Il1I ll11111llIl(@II1lll1lIlIl1 lIIl1I1I liil1i1i) {
if (liil1i1i != null) {
this.Il1IlII1.add(liil1i1i);
if (this.Il1IlII1.size() > 25) {
this.Il1IlII1.remove(0);
}
}
return this;
}
@IlI1111llI11I
public llI1l1l1Il1I ll1I1I1IIIl1I(boolean z) {
this.Ill1llIIlIlll = Boolean.valueOf(z);
return this;
}
@IlI1111llI11I
public llI1l1l1Il1I ll1IlI11lll1l(@II1lll1lIlIl1 lIIl1I1I liil1i1i) {
if (liil1i1i != null) {
this.lI11111lI1.add(liil1i1i);
if (this.lI11111lI1.size() > 25) {
this.lI11111lI1.remove(0);
}
}
return this;
}
@Override
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected String llIIlllll111() {
return IIll11IllI1l;
}
public boolean llll11l11l1() {
l1llllI11l111 l1lllli11l111 = this.IIllIl1llII;
if (l1lllli11l111 != null && l1lllli11l111.IIllIl1llII.getApplicationInfo().targetSdkVersion < 28 && this.Ill1llIIlIlll == null) {
return this.lI111l1I1llIl != null;
}
Boolean bool = this.Ill1llIIlIlll;
if (bool != null) {
return bool.booleanValue();
}
return false;
}
public static final class lIIl1I1I {
static final String I1Il11llllIl = "uri";
static final String IIll11IllI1l = "type";
static final String Ill1llIIlIlll = "sender";
static final String IllIlI1l1I = "person";
static final String l1llllI11l111 = "sender_person";
static final String lI111l1I1llIl = "time";
static final String lII1lI1Illl = "text";
static final String ll11llIII1111 = "extras";
private final CharSequence IIllIl1llII;
@II1lll1lIlIl1
private final I1lIIlI1lIII Il11lI1III1;
@II1lll1lIlIl1
private String Il1IlII1;
private final long IlllIll1I1I;
@II1lll1lIlIl1
private Uri lI11111lI1;
private Bundle lIIl1I1I;
@l1l1lI1IIl1I(24)
static class IIllIl1llII {
private IIllIl1llII() {
}
static Notification.MessagingStyle.Message IIllIl1llII(CharSequence charSequence, long j, CharSequence charSequence2) {
return new Notification.MessagingStyle.Message(charSequence, j, charSequence2);
}
static Notification.MessagingStyle.Message IlllIll1I1I(Notification.MessagingStyle.Message message, String str, Uri uri) {
return message.setData(str, uri);
}
}
@l1l1lI1IIl1I(28)
static class IlllIll1I1I {
private IlllIll1I1I() {
}
static Parcelable IIllIl1llII(Person person) {
return person;
}
static Notification.MessagingStyle.Message IlllIll1I1I(CharSequence charSequence, long j, Person person) {
return new Notification.MessagingStyle.Message(charSequence, j, person);
}
}
public lIIl1I1I(@II1lll1lIlIl1 CharSequence charSequence, long j, @II1lll1lIlIl1 I1lIIlI1lIII i1lIIlI1lIII) {
this.lIIl1I1I = new Bundle();
this.IIllIl1llII = charSequence;
this.IlllIll1I1I = j;
this.Il11lI1III1 = i1lIIlI1lIII;
}
@IlI1111llI11I
static Bundle[] IIllIl1llII(@IlI1111llI11I List<lIIl1I1I> list) {
Bundle[] bundleArr = new Bundle[list.size()];
int size = list.size();
for (int i = 0; i < size; i++) {
bundleArr[i] = list.get(i).IllIlI1l1I();
}
return bundleArr;
}
@II1lll1lIlIl1
static lIIl1I1I Il1IlII1(@IlI1111llI11I Bundle bundle) {
try {
if (bundle.containsKey(lII1lI1Illl) && bundle.containsKey(lI111l1I1llIl)) {
lIIl1I1I liil1i1i = new lIIl1I1I(bundle.getCharSequence(lII1lI1Illl), bundle.getLong(lI111l1I1llIl), bundle.containsKey(IllIlI1l1I) ? I1lIIlI1lIII.IlllIll1I1I(bundle.getBundle(IllIlI1l1I)) : (!bundle.containsKey(l1llllI11l111) || Build.VERSION.SDK_INT < 28) ? bundle.containsKey(Ill1llIIlIlll) ? new I1lIIlI1lIII.Il11lI1III1().lI11111lI1(bundle.getCharSequence(Ill1llIIlIlll)).IIllIl1llII() : null : I1lIIlI1lIII.IIllIl1llII(l1lI1lI1IlllI.IIllIl1llII(bundle.getParcelable(l1llllI11l111))));
if (bundle.containsKey("type") && bundle.containsKey(I1Il11llllIl)) {
liil1i1i.I1Il11llllIl(bundle.getString("type"), (Uri) bundle.getParcelable(I1Il11llllIl));
}
if (bundle.containsKey(ll11llIII1111)) {
liil1i1i.lIIl1I1I().putAll(bundle.getBundle(ll11llIII1111));
}
return liil1i1i;
}
} catch (ClassCastException unused) {
}
return null;
}
@IlI1111llI11I
private Bundle IllIlI1l1I() {
Bundle bundle = new Bundle();
CharSequence charSequence = this.IIllIl1llII;
if (charSequence != null) {
bundle.putCharSequence(lII1lI1Illl, charSequence);
}
bundle.putLong(lI111l1I1llIl, this.IlllIll1I1I);
I1lIIlI1lIII i1lIIlI1lIII = this.Il11lI1III1;
if (i1lIIlI1lIII != null) {
bundle.putCharSequence(Ill1llIIlIlll, i1lIIlI1lIII.lI11111lI1());
if (Build.VERSION.SDK_INT >= 28) {
bundle.putParcelable(l1llllI11l111, IlllIll1I1I.IIllIl1llII(this.Il11lI1III1.I1Il11llllIl()));
} else {
bundle.putBundle(IllIlI1l1I, this.Il11lI1III1.IllIlI1l1I());
}
}
String str = this.Il1IlII1;
if (str != null) {
bundle.putString("type", str);
}
Uri uri = this.lI11111lI1;
if (uri != null) {
bundle.putParcelable(I1Il11llllIl, uri);
}
Bundle bundle2 = this.lIIl1I1I;
if (bundle2 != null) {
bundle.putBundle(ll11llIII1111, bundle2);
}
return bundle;
}
@IlI1111llI11I
static List<lIIl1I1I> lI11111lI1(@IlI1111llI11I Parcelable[] parcelableArr) {
lIIl1I1I Il1IlII1;
ArrayList arrayList = new ArrayList(parcelableArr.length);
for (Parcelable parcelable : parcelableArr) {
if ((parcelable instanceof Bundle) && (Il1IlII1 = Il1IlII1((Bundle) parcelable)) != null) {
arrayList.add(Il1IlII1);
}
}
return arrayList;
}
@IlI1111llI11I
public lIIl1I1I I1Il11llllIl(@II1lll1lIlIl1 String str, @II1lll1lIlIl1 Uri uri) {
this.Il1IlII1 = str;
this.lI11111lI1 = uri;
return this;
}
public long IIll11IllI1l() {
return this.IlllIll1I1I;
}
@II1lll1lIlIl1
public Uri Il11lI1III1() {
return this.lI11111lI1;
}
@II1lll1lIlIl1
public CharSequence Ill1llIIlIlll() {
return this.IIllIl1llII;
}
@II1lll1lIlIl1
public String IlllIll1I1I() {
return this.Il1IlII1;
}
@II1lll1lIlIl1
@Deprecated
public CharSequence lI111l1I1llIl() {
I1lIIlI1lIII i1lIIlI1lIII = this.Il11lI1III1;
if (i1lIIlI1lIII == null) {
return null;
}
return i1lIIlI1lIII.lI11111lI1();
}
@II1lll1lIlIl1
public I1lIIlI1lIII lII1lI1Illl() {
return this.Il11lI1III1;
}
@IlI1111llI11I
public Bundle lIIl1I1I() {
return this.lIIl1I1I;
}
@l1l1lI1IIl1I(24)
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
Notification.MessagingStyle.Message ll11llIII1111() {
Notification.MessagingStyle.Message IIllIl1llII2;
I1lIIlI1lIII lII1lI1Illl2 = lII1lI1Illl();
if (Build.VERSION.SDK_INT >= 28) {
IIllIl1llII2 = IlllIll1I1I.IlllIll1I1I(Ill1llIIlIlll(), IIll11IllI1l(), lII1lI1Illl2 != null ? lII1lI1Illl2.I1Il11llllIl() : null);
} else {
IIllIl1llII2 = IIllIl1llII.IIllIl1llII(Ill1llIIlIlll(), IIll11IllI1l(), lII1lI1Illl2 != null ? lII1lI1Illl2.lI11111lI1() : null);
}
if (IlllIll1I1I() != null) {
IIllIl1llII.IlllIll1I1I(IIllIl1llII2, IlllIll1I1I(), Il11lI1III1());
}
return IIllIl1llII2;
}
@Deprecated
public lIIl1I1I(@II1lll1lIlIl1 CharSequence charSequence, long j, @II1lll1lIlIl1 CharSequence charSequence2) {
this(charSequence, j, new I1lIIlI1lIII.Il11lI1III1().lI11111lI1(charSequence2).IIllIl1llII());
}
}
@Deprecated
public llI1l1l1Il1I(@IlI1111llI11I CharSequence charSequence) {
this.lII1lI1Illl = new I1lIIlI1lIII.Il11lI1III1().lI11111lI1(charSequence).IIllIl1llII();
}
public llI1l1l1Il1I(@IlI1111llI11I I1lIIlI1lIII i1lIIlI1lIII) {
if (TextUtils.isEmpty(i1lIIlI1lIII.lI11111lI1())) {
throw new IllegalArgumentException("User's name must not be empty.");
}
this.lII1lI1Illl = i1lIIlI1lIII;
}
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@Retention(RetentionPolicy.SOURCE)
public @interface lllIlIl11ll {
}
public static final class llll1IlllIl1 implements Il11lI1l {
static final String I1Il11llllIl = "channel_id";
static final String IIll11IllI1l = "delete_intent";
static final String Ill1llIIlIlll = "content_intent";
private static final int IllIlI1l1I = 1;
private static final String lI11111lI1 = "TvExtender";
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
private static final String lI111l1I1llIl = "flags";
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
static final String lII1lI1Illl = "android.tv.EXTENSIONS";
static final String ll11llIII1111 = "suppressShowOverApps";
private int IIllIl1llII;
private PendingIntent Il11lI1III1;
private boolean Il1IlII1;
private String IlllIll1I1I;
private PendingIntent lIIl1I1I;
public llll1IlllIl1() {
this.IIllIl1llII = 1;
}
@IlI1111llI11I
public llll1IlllIl1 IIll11IllI1l(boolean z) {
this.Il1IlII1 = z;
return this;
}
@Override
@IlI1111llI11I
public l1llllI11l111 IIllIl1llII(@IlI1111llI11I l1llllI11l111 l1lllli11l111) {
if (Build.VERSION.SDK_INT < 26) {
return l1lllli11l111;
}
Bundle bundle = new Bundle();
bundle.putInt(lI111l1I1llIl, this.IIllIl1llII);
bundle.putString(I1Il11llllIl, this.IlllIll1I1I);
bundle.putBoolean(ll11llIII1111, this.Il1IlII1);
PendingIntent pendingIntent = this.Il11lI1III1;
if (pendingIntent != null) {
bundle.putParcelable(Ill1llIIlIlll, pendingIntent);
}
PendingIntent pendingIntent2 = this.lIIl1I1I;
if (pendingIntent2 != null) {
bundle.putParcelable(IIll11IllI1l, pendingIntent2);
}
l1lllli11l111.llIIlllll111().putBundle(lII1lI1Illl, bundle);
return l1lllli11l111;
}
@II1lll1lIlIl1
public PendingIntent Il11lI1III1() {
return this.Il11lI1III1;
}
public boolean Il1IlII1() {
return (this.IIllIl1llII & 1) != 0;
}
@IlI1111llI11I
public llll1IlllIl1 Ill1llIIlIlll(@II1lll1lIlIl1 PendingIntent pendingIntent) {
this.lIIl1I1I = pendingIntent;
return this;
}
@II1lll1lIlIl1
public String IlllIll1I1I() {
return this.IlllIll1I1I;
}
public boolean lI11111lI1() {
return this.Il1IlII1;
}
@IlI1111llI11I
public llll1IlllIl1 lI111l1I1llIl(@II1lll1lIlIl1 PendingIntent pendingIntent) {
this.Il11lI1III1 = pendingIntent;
return this;
}
@IlI1111llI11I
public llll1IlllIl1 lII1lI1Illl(@II1lll1lIlIl1 String str) {
this.IlllIll1I1I = str;
return this;
}
@II1lll1lIlIl1
public PendingIntent lIIl1I1I() {
return this.lIIl1I1I;
}
public llll1IlllIl1(@IlI1111llI11I Notification notification) {
if (Build.VERSION.SDK_INT < 26) {
return;
}
Bundle bundle = notification.extras;
Bundle bundle2 = bundle == null ? null : bundle.getBundle(lII1lI1Illl);
if (bundle2 != null) {
this.IIllIl1llII = bundle2.getInt(lI111l1I1llIl);
this.IlllIll1I1I = bundle2.getString(I1Il11llllIl);
this.Il1IlII1 = bundle2.getBoolean(ll11llIII1111);
this.Il11lI1III1 = (PendingIntent) bundle2.getParcelable(Ill1llIIlIlll);
this.lIIl1I1I = (PendingIntent) bundle2.getParcelable(IIll11IllI1l);
}
}
}
@Deprecated
public l1llIII11l() {
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
static boolean I11ll1l1lI11l(@IlI1111llI11I Notification notification) {
return (notification.flags & 128) != 0;
}
@II1lll1lIlIl1
public static CharSequence I1II1ll1lI1(@IlI1111llI11I Notification notification) {
return notification.extras.getCharSequence(l11l1l11I1);
}
@II1lll1lIlIl1
public static CharSequence I1Il11llllIl(@IlI1111llI11I Notification notification) {
return notification.extras.getCharSequence(l1I11II1llI1I);
}
@II1lll1lIlIl1
public static String III11IIll1lI1(@IlI1111llI11I Notification notification) {
return Il11lI1III1.Il1IlII1(notification);
}
public static boolean IIIII11lIlIl(@IlI1111llI11I Notification notification) {
return (notification.flags & 256) != 0;
}
public static int IIl1I11I1lI1l(@IlI1111llI11I Notification notification) {
if (Build.VERSION.SDK_INT >= 26) {
return lI11111lI1.Il11lI1III1(notification);
}
return 0;
}
public static boolean IIl1ll1ll1l(@IlI1111llI11I Notification notification) {
return (notification.flags & 512) != 0;
}
public static int IIll11IllI1l(@IlI1111llI11I Notification notification) {
return notification.color;
}
@II1lll1lIlIl1
public static IlllIll1I1I IIllIl1llII(@IlI1111llI11I Notification notification, int i) {
return IlllIll1I1I(notification.actions[i]);
}
public static boolean IIllll1Il1lIl(@IlI1111llI11I Notification notification) {
return (notification.flags & 2) != 0;
}
public static int Il11lI1III1(@IlI1111llI11I Notification notification) {
Notification.Action[] actionArr = notification.actions;
if (actionArr != null) {
return actionArr.length;
}
return 0;
}
@l1l1lI1IIl1I(21)
@IlI1111llI11I
public static List<IlllIll1I1I> Il11lI1l(@IlI1111llI11I Notification notification) {
ArrayList arrayList = new ArrayList();
Bundle bundle = notification.extras.getBundle("android.car.EXTENSIONS");
if (bundle == null) {
return arrayList;
}
Bundle bundle2 = bundle.getBundle("invisible_actions");
if (bundle2 != null) {
for (int i = 0; i < bundle2.size(); i++) {
arrayList.add(I1l1IlIIII1lI.lII1lI1Illl(bundle2.getBundle(Integer.toString(i))));
}
}
return arrayList;
}
@II1lll1lIlIl1
public static String Il11lIlllll1(@IlI1111llI11I Notification notification) {
return Il11lI1III1.Ill1llIIlIlll(notification);
}
public static boolean Il1IlII1(@IlI1111llI11I Notification notification) {
return (notification.flags & 16) != 0;
}
@II1lll1lIlIl1
public static String Ill1llIIlIlll(@IlI1111llI11I Notification notification) {
if (Build.VERSION.SDK_INT >= 26) {
return lI11111lI1.IlllIll1I1I(notification);
}
return null;
}
@II1lll1lIlIl1
public static CharSequence IllIlI1l1I(@IlI1111llI11I Notification notification) {
return notification.extras.getCharSequence(ll11111llIl);
}
@l1l1lI1IIl1I(20)
@IlI1111llI11I
static IlllIll1I1I IlllIll1I1I(@IlI1111llI11I Notification.Action action) {
Ill1lI1ll1Ill[] ill1lI1ll1IllArr;
int i;
RemoteInput[] lII1lI1Illl2 = Il11lI1III1.lII1lI1Illl(action);
if (lII1lI1Illl2 == null) {
ill1lI1ll1IllArr = null;
} else {
Ill1lI1ll1Ill[] ill1lI1ll1IllArr2 = new Ill1lI1ll1Ill[lII1lI1Illl2.length];
for (int i2 = 0; i2 < lII1lI1Illl2.length; i2++) {
RemoteInput remoteInput = lII1lI1Illl2[i2];
ill1lI1ll1IllArr2[i2] = new Ill1lI1ll1Ill(Il11lI1III1.lI111l1I1llIl(remoteInput), Il11lI1III1.lI11111lI1(remoteInput), Il11lI1III1.IlllIll1I1I(remoteInput), Il11lI1III1.IIllIl1llII(remoteInput), Build.VERSION.SDK_INT >= 29 ? lI111l1I1llIl.Il11lI1III1(remoteInput) : 0, Il11lI1III1.lIIl1I1I(remoteInput), null);
}
ill1lI1ll1IllArr = ill1lI1ll1IllArr2;
}
int i3 = Build.VERSION.SDK_INT;
boolean z = i3 >= 24 ? Il11lI1III1.Il11lI1III1(action).getBoolean("android.support.allowGeneratedReplies") || Il1IlII1.IIllIl1llII(action) : Il11lI1III1.Il11lI1III1(action).getBoolean("android.support.allowGeneratedReplies");
boolean z2 = Il11lI1III1.Il11lI1III1(action).getBoolean("android.support.action.showsUserInterface", true);
int IIllIl1llII2 = i3 >= 28 ? lII1lI1Illl.IIllIl1llII(action) : Il11lI1III1.Il11lI1III1(action).getInt("android.support.action.semanticAction", 0);
boolean Il1IlII12 = i3 >= 29 ? lI111l1I1llIl.Il1IlII1(action) : false;
boolean IIllIl1llII3 = i3 >= 31 ? Ill1llIIlIlll.IIllIl1llII(action) : false;
if (lIIl1I1I.IIllIl1llII(action) != null || (i = action.icon) == 0) {
return new IlllIll1I1I(lIIl1I1I.IIllIl1llII(action) != null ? IconCompat.III11IIll1lI1(lIIl1I1I.IIllIl1llII(action)) : null, action.title, action.actionIntent, Il11lI1III1.Il11lI1III1(action), ill1lI1ll1IllArr, (Ill1lI1ll1Ill[]) null, z, IIllIl1llII2, z2, Il1IlII12, IIllIl1llII3);
}
return new IlllIll1I1I(i, action.title, action.actionIntent, Il11lI1III1.Il11lI1III1(action), ill1lI1ll1IllArr, (Ill1lI1ll1Ill[]) null, z, IIllIl1llII2, z2, Il1IlII12, IIllIl1llII3);
}
public static long l11l1l11I1(@IlI1111llI11I Notification notification) {
if (Build.VERSION.SDK_INT >= 26) {
return lI11111lI1.lI11111lI1(notification);
}
return 0L;
}
@II1lll1lIlIl1
public static Bitmap l11llI1Ill1(@IlI1111llI11I Context context, @II1lll1lIlIl1 Bitmap bitmap) {
if (bitmap == null || Build.VERSION.SDK_INT >= 27) {
return bitmap;
}
Resources resources = context.getResources();
int dimensionPixelSize = resources.getDimensionPixelSize(l11Ill1111ll.Il11lI1III1.lII1lI1Illl);
int dimensionPixelSize2 = resources.getDimensionPixelSize(l11Ill1111ll.Il11lI1III1.lI11111lI1);
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 int l1I11II1llI1I(@IlI1111llI11I Notification notification) {
return notification.visibility;
}
@IlIllIlII(expression = "notification.extras")
@II1lll1lIlIl1
@Deprecated
public static Bundle l1llllI11l111(@IlI1111llI11I Notification notification) {
return notification.extras;
}
public static int lI11111lI1(@IlI1111llI11I Notification notification) {
if (Build.VERSION.SDK_INT >= 26) {
return lI11111lI1.IIllIl1llII(notification);
}
return 0;
}
@II1lll1lIlIl1
public static String lI111l1I1llIl(@IlI1111llI11I Notification notification) {
return notification.category;
}
public static boolean lI11lI1llIl11(@IlI1111llI11I Notification notification) {
return notification.extras.getBoolean(I1IlIl1llII);
}
public static boolean lI1l11l11ll(@IlI1111llI11I Notification notification) {
return (notification.flags & 8) != 0;
}
@II1lll1lIlIl1
public static IllIlI1l1I lII1lI1Illl(@IlI1111llI11I Notification notification) {
if (Build.VERSION.SDK_INT >= 29) {
return IllIlI1l1I.IIllIl1llII(lI111l1I1llIl.IlllIll1I1I(notification));
}
return null;
}
public static boolean lIIl1I1I(@IlI1111llI11I Notification notification) {
if (Build.VERSION.SDK_INT >= 29) {
return lI111l1I1llIl.IIllIl1llII(notification);
}
return false;
}
@II1lll1lIlIl1
public static Notification lIl11II1lII(@IlI1111llI11I Notification notification) {
return notification.publicVersion;
}
public static boolean ll11111llIl(@IlI1111llI11I Notification notification) {
return notification.extras.getBoolean(lI1111IllIl1);
}
@II1lll1lIlIl1
public static CharSequence ll11llIII1111(@IlI1111llI11I Notification notification) {
return notification.extras.getCharSequence(I1II1ll1lI1);
}
@II1lll1lIlIl1
public static String ll1IlI11lll1l(@IlI1111llI11I Notification notification) {
if (Build.VERSION.SDK_INT >= 26) {
return lI11111lI1.Il1IlII1(notification);
}
return null;
}
@IlI1111llI11I
static Notification[] llI1l1l1Il1I(@IlI1111llI11I Bundle bundle, @IlI1111llI11I String str) {
Parcelable[] parcelableArray = bundle.getParcelableArray(str);
if ((parcelableArray instanceof Notification[]) || parcelableArray == null) {
return (Notification[]) parcelableArray;
}
Notification[] notificationArr = new Notification[parcelableArray.length];
for (int i = 0; i < parcelableArray.length; i++) {
notificationArr[i] = (Notification) parcelableArray[i];
}
bundle.putParcelableArray(str, notificationArr);
return notificationArr;
}
@II1lll1lIlIl1
public static I111I1I11lI llIIlllll111(@IlI1111llI11I Notification notification) {
LocusId lIIl1I1I2;
if (Build.VERSION.SDK_INT < 29 || (lIIl1I1I2 = lI111l1I1llIl.lIIl1I1I(notification)) == null) {
return null;
}
return I111I1I11lI.lIIl1I1I(lIIl1I1I2);
}
@IlI1111llI11I
public static List<I1lIIlI1lIII> lllIlIl11ll(@IlI1111llI11I Notification notification) {
ArrayList arrayList = new ArrayList();
if (Build.VERSION.SDK_INT >= 28) {
ArrayList parcelableArrayList = notification.extras.getParcelableArrayList(IIlIlIlI111ll);
if (parcelableArrayList != null && !parcelableArrayList.isEmpty()) {
Iterator it = parcelableArrayList.iterator();
while (it.hasNext()) {
arrayList.add(I1lIIlI1lIII.IIllIl1llII(l1lI1lI1IlllI.IIllIl1llII(it.next())));
}
}
} else {
String[] stringArray = notification.extras.getStringArray(l1l1Il1llII1);
if (stringArray != null && stringArray.length != 0) {
for (String str : stringArray) {
arrayList.add(new I1lIIlI1lIII.Il11lI1III1().lII1lI1Illl(str).IIllIl1llII());
}
}
}
return arrayList;
}
@II1lll1lIlIl1
public static CharSequence llll1IlllIl1(@IlI1111llI11I Notification notification) {
if (Build.VERSION.SDK_INT >= 26) {
return lI11111lI1.lIIl1I1I(notification);
}
return null;
}
public static class llIIlllll111 extends lIl11II1lII {
private static final String lI11111lI1 = "androidx.core.app.NotificationCompat$InboxStyle";
private ArrayList<CharSequence> Il1IlII1 = new ArrayList<>();
public llIIlllll111() {
}
@IlI1111llI11I
public llIIlllll111 Il11lIlllll1(@II1lll1lIlIl1 CharSequence charSequence) {
this.Il11lI1III1 = l1llllI11l111.ll1IlI11lll1l(charSequence);
this.lIIl1I1I = true;
return this;
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public void IlllIll1I1I(I1ll11I i1ll11I) {
Notification.InboxStyle bigContentTitle = new Notification.InboxStyle(i1ll11I.IIllIl1llII()).setBigContentTitle(this.IlllIll1I1I);
if (this.lIIl1I1I) {
bigContentTitle.setSummaryText(this.Il11lI1III1);
}
Iterator<CharSequence> it = this.Il1IlII1.iterator();
while (it.hasNext()) {
bigContentTitle.addLine(it.next());
}
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lII1lI1Illl(@IlI1111llI11I Bundle bundle) {
super.lII1lI1Illl(bundle);
bundle.remove(l1llIII11l.I1Il1l11II1lI);
}
@Override
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected void lIl11II1lII(@IlI1111llI11I Bundle bundle) {
super.lIl11II1lII(bundle);
this.Il1IlII1.clear();
if (bundle.containsKey(l1llIII11l.I1Il1l11II1lI)) {
Collections.addAll(this.Il1IlII1, bundle.getCharSequenceArray(l1llIII11l.I1Il1l11II1lI));
}
}
@IlI1111llI11I
public llIIlllll111 ll11111llIl(@II1lll1lIlIl1 CharSequence charSequence) {
this.IlllIll1I1I = l1llllI11l111.ll1IlI11lll1l(charSequence);
return this;
}
@IlI1111llI11I
public llIIlllll111 ll1IlI11lll1l(@II1lll1lIlIl1 CharSequence charSequence) {
if (charSequence != null) {
this.Il1IlII1.add(l1llllI11l111.ll1IlI11lll1l(charSequence));
}
return this;
}
@Override
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
protected String llIIlllll111() {
return lI11111lI1;
}
public llIIlllll111(@II1lll1lIlIl1 l1llllI11l111 l1lllli11l111) {
llll1IlllIl1(l1lllli11l111);
}
}
public static final class ll1IlI11lll1l implements Il11lI1l {
@Deprecated
public static final int I11ll1l1lI11l = 1;
private static final String I1II1ll1lI1 = "contentIcon";
private static final int I1IlIl1llII = 8;
private static final int II11lIlI1lll1 = 1;
public static final int III11IIll1lI1 = -1;
@Deprecated
public static final int IIIII11lIlIl = 3;
@Deprecated
public static final int IIl1I11I1lI1l = 0;
private static final String IIl1ll1ll1l = "customContentHeight";
@Deprecated
public static final int IIllll1Il1lIl = 0;
@Deprecated
public static final int Il11lI1l = 2;
private static final String Il11lIlllll1 = "background";
private static final String IlIII1l1l111 = "bridgeTag";
private static final int Ill11IIlII1 = 8388613;
private static final String Ill1l11ll11l = "hintScreenTimeout";
private static final String IllII1lIII = "dismissalId";
private static final String l11l1l11I1 = "contentIconGravity";
private static final String l11llI1Ill1 = "gravity";
private static final int l1I111lllI1l1 = 80;
private static final String l1I11II1llI1I = "customSizePreset";
private static final int l1IlI1lI = 32;
private static final int lI1111IllIl1 = 64;
private static final int lI11lI1l1 = 2;
private static final String lI11lI1llIl11 = "contentActionIndex";
@Deprecated
public static final int lI1l11l11ll = -1;
private static final String lIl11II1lII = "actions";
private static final String ll11111llIl = "pages";
private static final int ll1I1I1IIIl1I = 16;
private static final String ll1IlI11lll1l = "displayIntent";
@Deprecated
public static final int llI1l1l1Il1I = 5;
@Deprecated
public static final int llIIlllll111 = 4;
private static final int lllIl1ll1l1I = 4;
private static final String lllIlIl11ll = "android.wearable.EXTENSIONS";
private static final int llll11l11l1 = 1;
private static final String llll1IlllIl1 = "flags";
private int I1Il11llllIl;
private int IIll11IllI1l;
private ArrayList<IlllIll1I1I> IIllIl1llII;
private PendingIntent Il11lI1III1;
private Bitmap Il1IlII1;
private int Ill1llIIlIlll;
private String IllIlI1l1I;
private int IlllIll1I1I;
private String l1llllI11l111;
private int lI11111lI1;
private int lI111l1I1llIl;
private int lII1lI1Illl;
private ArrayList<Notification> lIIl1I1I;
private int ll11llIII1111;
@l1l1lI1IIl1I(20)
static class IIllIl1llII {
private IIllIl1llII() {
}
static Notification.Action.Builder IIllIl1llII(Notification.Action.Builder builder, Bundle bundle) {
return builder.addExtras(bundle);
}
static Notification.Action Il11lI1III1(Notification.Action.Builder builder) {
return builder.build();
}
public static IlllIll1I1I Il1IlII1(ArrayList<Parcelable> arrayList, int i) {
return l1llIII11l.IlllIll1I1I((Notification.Action) arrayList.get(i));
}
static Notification.Action.Builder IlllIll1I1I(Notification.Action.Builder builder, RemoteInput remoteInput) {
return builder.addRemoteInput(remoteInput);
}
static Notification.Action.Builder lIIl1I1I(int i, CharSequence charSequence, PendingIntent pendingIntent) {
return new Notification.Action.Builder(i, charSequence, pendingIntent);
}
}
@l1l1lI1IIl1I(24)
static class Il11lI1III1 {
private Il11lI1III1() {
}
static Notification.Action.Builder IIllIl1llII(Notification.Action.Builder builder, boolean z) {
return builder.setAllowGeneratedReplies(z);
}
}
@l1l1lI1IIl1I(23)
static class IlllIll1I1I {
private IlllIll1I1I() {
}
static Notification.Action.Builder IIllIl1llII(Icon icon, CharSequence charSequence, PendingIntent pendingIntent) {
return new Notification.Action.Builder(icon, charSequence, pendingIntent);
}
}
@l1l1lI1IIl1I(ConstraintLayout.IlllIll1I1I.IIllIl1llII.lI11lI1llIl11)
static class lIIl1I1I {
private lIIl1I1I() {
}
static Notification.Action.Builder IIllIl1llII(Notification.Action.Builder builder, boolean z) {
return builder.setAuthenticationRequired(z);
}
}
public ll1IlI11lll1l() {
this.IIllIl1llII = new ArrayList<>();
this.IlllIll1I1I = 1;
this.lIIl1I1I = new ArrayList<>();
this.lII1lI1Illl = 8388613;
this.lI111l1I1llIl = -1;
this.Ill1llIIlIlll = 0;
this.I1Il11llllIl = 80;
}
@l1l1lI1IIl1I(20)
private static Notification.Action Ill1llIIlIlll(IlllIll1I1I illlIll1I1I) {
int i = Build.VERSION.SDK_INT;
IconCompat lI11111lI1 = illlIll1I1I.lI11111lI1();
Notification.Action.Builder IIllIl1llII2 = IlllIll1I1I.IIllIl1llII(lI11111lI1 == null ? null : lI11111lI1.IlIII1l1l111(), illlIll1I1I.IIll11IllI1l(), illlIll1I1I.IIllIl1llII());
Bundle bundle = illlIll1I1I.lIIl1I1I() != null ? new Bundle(illlIll1I1I.lIIl1I1I()) : new Bundle();
bundle.putBoolean("android.support.allowGeneratedReplies", illlIll1I1I.IlllIll1I1I());
if (i >= 24) {
Il11lI1III1.IIllIl1llII(IIllIl1llII2, illlIll1I1I.IlllIll1I1I());
}
if (i >= 31) {
lIIl1I1I.IIllIl1llII(IIllIl1llII2, illlIll1I1I.I1Il11llllIl());
}
IIllIl1llII.IIllIl1llII(IIllIl1llII2, bundle);
Ill1lI1ll1Ill[] lII1lI1Illl = illlIll1I1I.lII1lI1Illl();
if (lII1lI1Illl != null) {
for (RemoteInput remoteInput : Ill1lI1ll1Ill.lIIl1I1I(lII1lI1Illl)) {
IIllIl1llII.IlllIll1I1I(IIllIl1llII2, remoteInput);
}
}
return IIllIl1llII.Il11lI1III1(IIllIl1llII2);
}
private void lI11lI1l1(int i, boolean z) {
if (z) {
this.IlllIll1I1I = i | this.IlllIll1I1I;
} else {
this.IlllIll1I1I = (~i) & this.IlllIll1I1I;
}
}
@Deprecated
public int I11ll1l1lI11l() {
return this.IIll11IllI1l;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l I1II1ll1lI1(@II1lll1lIlIl1 Bitmap bitmap) {
this.Il1IlII1 = bitmap;
return this;
}
@II1lll1lIlIl1
@Deprecated
public Bitmap I1Il11llllIl() {
return this.Il1IlII1;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l I1IlIl1llII(boolean z) {
lI11lI1l1(32, z);
return this;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l II11lIlI1lll1(int i) {
this.ll11llIII1111 = i;
return this;
}
@Deprecated
public int III11IIll1lI1() {
return this.lII1lI1Illl;
}
@II1lll1lIlIl1
public String IIIII11lIlIl() {
return this.IllIlI1l1I;
}
public boolean IIl1I11I1lI1l() {
return (this.IlllIll1I1I & 1) != 0;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l IIl1ll1ll1l(int i) {
this.lII1lI1Illl = i;
return this;
}
@IlI1111llI11I
public List<IlllIll1I1I> IIll11IllI1l() {
return this.IIllIl1llII;
}
@Override
@IlI1111llI11I
public l1llllI11l111 IIllIl1llII(@IlI1111llI11I l1llllI11l111 l1lllli11l111) {
Bundle bundle = new Bundle();
if (!this.IIllIl1llII.isEmpty()) {
ArrayList<? extends Parcelable> arrayList = new ArrayList<>(this.IIllIl1llII.size());
Iterator<IlllIll1I1I> it = this.IIllIl1llII.iterator();
while (it.hasNext()) {
arrayList.add(Ill1llIIlIlll(it.next()));
}
bundle.putParcelableArrayList(lIl11II1lII, arrayList);
}
int i = this.IlllIll1I1I;
if (i != 1) {
bundle.putInt(llll1IlllIl1, i);
}
PendingIntent pendingIntent = this.Il11lI1III1;
if (pendingIntent != null) {
bundle.putParcelable(ll1IlI11lll1l, pendingIntent);
}
if (!this.lIIl1I1I.isEmpty()) {
ArrayList<Notification> arrayList2 = this.lIIl1I1I;
bundle.putParcelableArray(ll11111llIl, (Parcelable[]) arrayList2.toArray(new Notification[arrayList2.size()]));
}
Bitmap bitmap = this.Il1IlII1;
if (bitmap != null) {
bundle.putParcelable(Il11lIlllll1, bitmap);
}
int i2 = this.lI11111lI1;
if (i2 != 0) {
bundle.putInt(I1II1ll1lI1, i2);
}
int i3 = this.lII1lI1Illl;
if (i3 != 8388613) {
bundle.putInt(l11l1l11I1, i3);
}
int i4 = this.lI111l1I1llIl;
if (i4 != -1) {
bundle.putInt(lI11lI1llIl11, i4);
}
int i5 = this.Ill1llIIlIlll;
if (i5 != 0) {
bundle.putInt(l1I11II1llI1I, i5);
}
int i6 = this.IIll11IllI1l;
if (i6 != 0) {
bundle.putInt(IIl1ll1ll1l, i6);
}
int i7 = this.I1Il11llllIl;
if (i7 != 80) {
bundle.putInt(l11llI1Ill1, i7);
}
int i8 = this.ll11llIII1111;
if (i8 != 0) {
bundle.putInt(Ill1l11ll11l, i8);
}
String str = this.IllIlI1l1I;
if (str != null) {
bundle.putString(IllII1lIII, str);
}
String str2 = this.l1llllI11l111;
if (str2 != null) {
bundle.putString(IlIII1l1l111, str2);
}
l1lllli11l111.llIIlllll111().putBundle(lllIlIl11ll, bundle);
return l1lllli11l111;
}
@Deprecated
public boolean IIllll1Il1lIl() {
return (this.IlllIll1I1I & 32) != 0;
}
@IlI1111llI11I
public ll1IlI11lll1l Il11lI1III1(@IlI1111llI11I List<IlllIll1I1I> list) {
this.IIllIl1llII.addAll(list);
return this;
}
@Deprecated
public int Il11lI1l() {
return this.Ill1llIIlIlll;
}
public boolean Il11lIlllll1() {
return (this.IlllIll1I1I & 8) != 0;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l Il1IlII1(@IlI1111llI11I List<Notification> list) {
this.lIIl1I1I.addAll(list);
return this;
}
@IlI1111llI11I
public ll1IlI11lll1l IlIII1l1l111(@II1lll1lIlIl1 String str) {
this.IllIlI1l1I = str;
return this;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l Ill11IIlII1(boolean z) {
lI11lI1l1(4, z);
return this;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l Ill1l11ll11l(int i) {
this.IIll11IllI1l = i;
return this;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l IllII1lIII(int i) {
this.Ill1llIIlIlll = i;
return this;
}
public int IllIlI1l1I() {
return this.lI111l1I1llIl;
}
@IlI1111llI11I
public ll1IlI11lll1l IlllIll1I1I(@IlI1111llI11I IlllIll1I1I illlIll1I1I) {
this.IIllIl1llII.add(illlIll1I1I);
return this;
}
@IlI1111llI11I
public ll1IlI11lll1l l11l1l11I1(@II1lll1lIlIl1 String str) {
this.l1llllI11l111 = str;
return this;
}
@IlI1111llI11I
public ll1IlI11lll1l l11llI1Ill1(boolean z) {
lI11lI1l1(1, z);
return this;
}
@IlI1111llI11I
public ll1IlI11lll1l l1I111lllI1l1(boolean z) {
lI11lI1l1(8, z);
return this;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l l1I11II1llI1I(int i) {
this.lI11111lI1 = i;
return this;
}
@IlI1111llI11I
public ll1IlI11lll1l l1IlI1lI(boolean z) {
lI11lI1l1(64, z);
return this;
}
@Deprecated
public int l1llllI11l111() {
return this.lI11111lI1;
}
@IlI1111llI11I
public ll1IlI11lll1l lI11111lI1() {
this.IIllIl1llII.clear();
return this;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l lI1111IllIl1(boolean z) {
lI11lI1l1(2, z);
return this;
}
@IlI1111llI11I
public ll1IlI11lll1l clone() {
ll1IlI11lll1l ll1ili11lll1l = new ll1IlI11lll1l();
ll1ili11lll1l.IIllIl1llII = new ArrayList<>(this.IIllIl1llII);
ll1ili11lll1l.IlllIll1I1I = this.IlllIll1I1I;
ll1ili11lll1l.Il11lI1III1 = this.Il11lI1III1;
ll1ili11lll1l.lIIl1I1I = new ArrayList<>(this.lIIl1I1I);
ll1ili11lll1l.Il1IlII1 = this.Il1IlII1;
ll1ili11lll1l.lI11111lI1 = this.lI11111lI1;
ll1ili11lll1l.lII1lI1Illl = this.lII1lI1Illl;
ll1ili11lll1l.lI111l1I1llIl = this.lI111l1I1llIl;
ll1ili11lll1l.Ill1llIIlIlll = this.Ill1llIIlIlll;
ll1ili11lll1l.IIll11IllI1l = this.IIll11IllI1l;
ll1ili11lll1l.I1Il11llllIl = this.I1Il11llllIl;
ll1ili11lll1l.ll11llIII1111 = this.ll11llIII1111;
ll1ili11lll1l.IllIlI1l1I = this.IllIlI1l1I;
ll1ili11lll1l.l1llllI11l111 = this.l1llllI11l111;
return ll1ili11lll1l;
}
@IlI1111llI11I
public ll1IlI11lll1l lI11lI1llIl11(int i) {
this.lI111l1I1llIl = i;
return this;
}
@Deprecated
public boolean lI1l11l11ll() {
return (this.IlllIll1I1I & 16) != 0;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l lII1lI1Illl() {
this.lIIl1I1I.clear();
return this;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l lIIl1I1I(@IlI1111llI11I Notification notification) {
this.lIIl1I1I.add(notification);
return this;
}
@Deprecated
public boolean lIl11II1lII() {
return (this.IlllIll1I1I & 2) != 0;
}
@IlI1111llI11I
@Deprecated
public List<Notification> ll11111llIl() {
return this.lIIl1I1I;
}
@II1lll1lIlIl1
public String ll11llIII1111() {
return this.l1llllI11l111;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l ll1I1I1IIIl1I(boolean z) {
lI11lI1l1(16, z);
return this;
}
@Deprecated
public boolean ll1IlI11lll1l() {
return (this.IlllIll1I1I & 4) != 0;
}
@Deprecated
public int llI1l1l1Il1I() {
return this.I1Il11llllIl;
}
@II1lll1lIlIl1
@Deprecated
public PendingIntent llIIlllll111() {
return this.Il11lI1III1;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l lllIl1ll1l1I(int i) {
this.I1Il11llllIl = i;
return this;
}
public boolean lllIlIl11ll() {
return (this.IlllIll1I1I & 64) != 0;
}
@IlI1111llI11I
@Deprecated
public ll1IlI11lll1l llll11l11l1(@II1lll1lIlIl1 PendingIntent pendingIntent) {
this.Il11lI1III1 = pendingIntent;
return this;
}
@Deprecated
public int llll1IlllIl1() {
return this.ll11llIII1111;
}
public ll1IlI11lll1l(@IlI1111llI11I Notification notification) {
this.IIllIl1llII = new ArrayList<>();
this.IlllIll1I1I = 1;
this.lIIl1I1I = new ArrayList<>();
this.lII1lI1Illl = 8388613;
this.lI111l1I1llIl = -1;
this.Ill1llIIlIlll = 0;
this.I1Il11llllIl = 80;
Bundle l1llllI11l111 = l1llIII11l.l1llllI11l111(notification);
Bundle bundle = l1llllI11l111 != null ? l1llllI11l111.getBundle(lllIlIl11ll) : null;
if (bundle != null) {
ArrayList parcelableArrayList = bundle.getParcelableArrayList(lIl11II1lII);
if (parcelableArrayList != null) {
int size = parcelableArrayList.size();
IlllIll1I1I[] illlIll1I1IArr = new IlllIll1I1I[size];
for (int i = 0; i < size; i++) {
illlIll1I1IArr[i] = IIllIl1llII.Il1IlII1(parcelableArrayList, i);
}
Collections.addAll(this.IIllIl1llII, illlIll1I1IArr);
}
this.IlllIll1I1I = bundle.getInt(llll1IlllIl1, 1);
this.Il11lI1III1 = (PendingIntent) bundle.getParcelable(ll1IlI11lll1l);
Notification[] llI1l1l1Il1I2 = l1llIII11l.llI1l1l1Il1I(bundle, ll11111llIl);
if (llI1l1l1Il1I2 != null) {
Collections.addAll(this.lIIl1I1I, llI1l1l1Il1I2);
}
this.Il1IlII1 = (Bitmap) bundle.getParcelable(Il11lIlllll1);
this.lI11111lI1 = bundle.getInt(I1II1ll1lI1);
this.lII1lI1Illl = bundle.getInt(l11l1l11I1, 8388613);
this.lI111l1I1llIl = bundle.getInt(lI11lI1llIl11, -1);
this.Ill1llIIlIlll = bundle.getInt(l1I11II1llI1I, 0);
this.IIll11IllI1l = bundle.getInt(IIl1ll1ll1l);
this.I1Il11llllIl = bundle.getInt(l11llI1Ill1, 80);
this.ll11llIII1111 = bundle.getInt(Ill1l11ll11l);
this.IllIlI1l1I = bundle.getString(IllII1lIII);
this.l1llllI11l111 = bundle.getString(IlIII1l1l111);
}
}
}
public static class l1llllI11l111 {
private static final int lIlI1IIllI1 = 5120;
lIl11II1lII I11ll1l1lI11l;
String I1II1ll1lI1;
CharSequence I1Il11llllIl;
@Deprecated
public ArrayList<String> I1Il1l11II1lI;
long I1IlIl1llII;
IllIlI1l1I II11lIlI1lll1;
boolean III11IIll1lI1;
CharSequence IIIII11lIlIl;
boolean IIl1I11I1lI1l;
Notification IIl1ll1ll1l;
IconCompat IIll11IllI1l;
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public Context IIllIl1llII;
int IIllll1Il1lIl;
@IlI1111llI11I
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public ArrayList<I1lIIlI1lIII> Il11lI1III1;
CharSequence Il11lI1l;
boolean Il11lIlllll1;
CharSequence Il1IlII1;
String IlIII1l1l111;
Notification Ill11IIlII1;
RemoteViews Ill1l11ll11l;
RemoteViews Ill1llIIlIlll;
RemoteViews IllII1lIII;
int IllIlI1l1I;
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public ArrayList<IlllIll1I1I> IlllIll1I1I;
Bundle l11l1l11I1;
RemoteViews l11llI1Ill1;
boolean l1I111lllI1l1;
int l1I11II1llI1I;
int l1IlI1lI;
boolean l1llllI11l111;
CharSequence lI11111lI1;
boolean lI1111IllIl1;
PendingIntent lI111l1I1llIl;
String lI11lI1l1;
int lI11lI1llIl11;
boolean lI1l11l11ll;
PendingIntent lII1lI1Illl;
ArrayList<IlllIll1I1I> lIIl1I1I;
boolean lIl11II1lII;
Object lIllll11l1I1I;
boolean ll11111llIl;
int ll11llIII1111;
int ll1I1I1IIIl1I;
boolean ll1IlI11lll1l;
int llI1l1l1Il1I;
CharSequence[] llIIlllll111;
I111I1I11lI lllIl1ll1l1I;
String lllIlIl11ll;
int llll11l11l1;
String llll1IlllIl1;
@l1l1lI1IIl1I(21)
static class IIllIl1llII {
private IIllIl1llII() {
}
static AudioAttributes IIllIl1llII(AudioAttributes.Builder builder) {
return builder.build();
}
static AudioAttributes.Builder Il11lI1III1(AudioAttributes.Builder builder, int i) {
return builder.setContentType(i);
}
static AudioAttributes.Builder Il1IlII1(AudioAttributes.Builder builder, int i) {
return builder.setUsage(i);
}
static AudioAttributes.Builder IlllIll1I1I() {
return new AudioAttributes.Builder();
}
static AudioAttributes.Builder lIIl1I1I(AudioAttributes.Builder builder, int i) {
return builder.setLegacyStreamType(i);
}
}
@l1l1lI1IIl1I(24)
static class Il11lI1III1 {
private Il11lI1III1() {
}
static RemoteViews IIllIl1llII(Notification.Builder builder) {
return builder.createHeadsUpContentView();
}
static RemoteViews Il11lI1III1(Notification.Builder builder) {
return builder.createHeadsUpContentView();
}
static RemoteViews IlllIll1I1I(Notification.Builder builder) {
return builder.createContentView();
}
static Notification.Builder lIIl1I1I(Context context, Notification notification) {
return Notification.Builder.recoverBuilder(context, notification);
}
}
@l1l1lI1IIl1I(23)
static class IlllIll1I1I {
private IlllIll1I1I() {
}
static Icon IIllIl1llII(Notification notification) {
return notification.getLargeIcon();
}
static Icon IlllIll1I1I(Notification notification) {
return notification.getSmallIcon();
}
}
public l1llllI11l111(@IlI1111llI11I Context context, @IlI1111llI11I Notification notification) {
this(context, l1llIII11l.Ill1llIIlIlll(notification));
ArrayList parcelableArrayList;
Bundle bundle = notification.extras;
lIl11II1lII IIIII11lIlIl = lIl11II1lII.IIIII11lIlIl(notification);
lllIl1ll1l1I(l1llIII11l.IllIlI1l1I(notification)).lI11lI1l1(l1llIII11l.ll11llIII1111(notification)).IlIII1l1l111(l1llIII11l.I1Il11llllIl(notification)).IlIIlIlll11I1(l1llIII11l.I1II1ll1lI1(notification)).I111I1IlIl1ll(l1llIII11l.llll1IlllIl1(notification)).l1llI1111I1lI(IIIII11lIlIl).lIlI1IIllI1(l1llIII11l.III11IIll1lI1(notification)).l1l1Il1llII1(l1llIII11l.IIl1ll1ll1l(notification)).IlIl1llIlIl1(l1llIII11l.llIIlllll111(notification)).Ill1I1lIIll(notification.when).Ill1I1IlI1III(l1llIII11l.ll11111llIl(notification)).II1111lIIII(l1llIII11l.lI11lI1llIl11(notification)).Il11lIlllll1(l1llIII11l.Il1IlII1(notification)).l1IlI1II1IIll(l1llIII11l.lI1l11l11ll(notification)).Il1l1IIIl1ll(l1llIII11l.IIllll1Il1lIl(notification)).IlI11I1l11II1(l1llIII11l.IIIII11lIlIl(notification)).IIlIlIlI111ll(notification.largeIcon).I1II1ll1lI1(l1llIII11l.lI11111lI1(notification)).lI11lI1llIl11(l1llIII11l.lI111l1I1llIl(notification)).l11l1l11I1(l1llIII11l.lII1lI1Illl(notification)).ll11lIII1lll(notification.number).lI1ll1I1I11Il(notification.tickerText).llll11l11l1(notification.contentIntent).II11lIlI1lll1(notification.deleteIntent).I1Il1l11II1lI(notification.fullScreenIntent, l1llIII11l.I11ll1l1lI11l(notification)).l1Il1IlII1(notification.sound, notification.audioStreamType).Il1IIlIII111(notification.vibrate).l1IlI1IIII1I(notification.ledARGB, notification.ledOnMS, notification.ledOffMS).lI1111IllIl1(notification.defaults).Illllll1Illl(notification.priority).l11llI1Ill1(l1llIII11l.IIll11IllI1l(notification)).lIIIlIll(l1llIII11l.l1I11II1llI1I(notification)).llIIlIIllI111(l1llIII11l.lIl11II1lII(notification)).ll1ll1IllII(l1llIII11l.Il11lIlllll1(notification)).II1IIll1lIIII(l1llIII11l.l11l1l11I1(notification)).I11I1l1I1l11l(l1llIII11l.ll1IlI11lll1l(notification)).I1ll1lIII1lIl(bundle.getInt(l1llIII11l.lI11lI1l1), bundle.getInt(l1llIII11l.llll11l11l1), bundle.getBoolean(l1llIII11l.lllIl1ll1l1I)).ll11111llIl(l1llIII11l.lIIl1I1I(notification)).I11lII1l1lIII(notification.icon, notification.iconLevel).Il11lI1III1(llI1l1l1Il1I(notification, IIIII11lIlIl));
this.lIllll11l1I1I = IlllIll1I1I.IlllIll1I1I(notification);
Icon IIllIl1llII2 = IlllIll1I1I.IIllIl1llII(notification);
if (IIllIl1llII2 != null) {
this.IIll11IllI1l = IconCompat.l1llllI11l111(IIllIl1llII2);
}
Notification.Action[] actionArr = notification.actions;
if (actionArr != null && actionArr.length != 0) {
for (Notification.Action action : actionArr) {
IlllIll1I1I(IlllIll1I1I.IIllIl1llII.lI11111lI1(action).Il11lI1III1());
}
}
List<IlllIll1I1I> Il11lI1l = l1llIII11l.Il11lI1l(notification);
if (!Il11lI1l.isEmpty()) {
Iterator<IlllIll1I1I> it = Il11lI1l.iterator();
while (it.hasNext()) {
Il1IlII1(it.next());
}
}
String[] stringArray = notification.extras.getStringArray(l1llIII11l.l1l1Il1llII1);
if (stringArray != null && stringArray.length != 0) {
for (String str : stringArray) {
lII1lI1Illl(str);
}
}
if (Build.VERSION.SDK_INT >= 28 && (parcelableArrayList = notification.extras.getParcelableArrayList(l1llIII11l.IIlIlIlI111ll)) != null && !parcelableArrayList.isEmpty()) {
Iterator it2 = parcelableArrayList.iterator();
while (it2.hasNext()) {
lI11111lI1(I1lIIlI1lIII.IIllIl1llII(l1lI1lI1IlllI.IIllIl1llII(it2.next())));
}
}
int i = Build.VERSION.SDK_INT;
if (i >= 24 && bundle.containsKey(l1llIII11l.ll1I1I1IIIl1I)) {
IIl1ll1ll1l(bundle.getBoolean(l1llIII11l.ll1I1I1IIIl1I));
}
if (i < 26 || !bundle.containsKey(l1llIII11l.l1IlI1lI)) {
return;
}
Ill1l11ll11l(bundle.getBoolean(l1llIII11l.l1IlI1lI));
}
private void l1I111lllI1l1(int i, boolean z) {
if (z) {
Notification notification = this.Ill11IIlII1;
notification.flags = i | notification.flags;
} else {
Notification notification2 = this.Ill11IIlII1;
notification2.flags = (~i) & notification2.flags;
}
}
@II1lll1lIlIl1
protected static CharSequence ll1IlI11lll1l(@II1lll1lIlIl1 CharSequence charSequence) {
return charSequence == null ? charSequence : charSequence.length() > lIlI1IIllI1 ? charSequence.subSequence(0, lIlI1IIllI1) : charSequence;
}
@II1lll1lIlIl1
private static Bundle llI1l1l1Il1I(@IlI1111llI11I Notification notification, @II1lll1lIlIl1 lIl11II1lII lil11ii1lii) {
if (notification.extras == null) {
return null;
}
Bundle bundle = new Bundle(notification.extras);
bundle.remove(l1llIII11l.ll11111llIl);
bundle.remove(l1llIII11l.I1II1ll1lI1);
bundle.remove(l1llIII11l.l1I11II1llI1I);
bundle.remove(l1llIII11l.l11l1l11I1);
bundle.remove(l1llIII11l.Il11lI1III1);
bundle.remove(l1llIII11l.lIIl1I1I);
bundle.remove(l1llIII11l.lI1111IllIl1);
bundle.remove(l1llIII11l.llll11l11l1);
bundle.remove(l1llIII11l.lI11lI1l1);
bundle.remove(l1llIII11l.lllIl1ll1l1I);
bundle.remove(l1llIII11l.ll1I1I1IIIl1I);
bundle.remove(l1llIII11l.l1IlI1lI);
bundle.remove(l1llIII11l.IIlIlIlI111ll);
bundle.remove(l1llIII11l.l1l1Il1llII1);
bundle.remove(lIIIl1llI111.lIIl1I1I);
bundle.remove(lIIIl1llI111.IlllIll1I1I);
bundle.remove(lIIIl1llI111.Il11lI1III1);
bundle.remove(lIIIl1llI111.IIllIl1llII);
bundle.remove(lIIIl1llI111.Il1IlII1);
Bundle bundle2 = bundle.getBundle("android.car.EXTENSIONS");
if (bundle2 != null) {
Bundle bundle3 = new Bundle(bundle2);
bundle3.remove("invisible_actions");
bundle.putBundle("android.car.EXTENSIONS", bundle3);
}
if (lil11ii1lii != null) {
lil11ii1lii.lII1lI1Illl(bundle);
}
return bundle;
}
private boolean llIl11III1lI1() {
lIl11II1lII lil11ii1lii = this.I11ll1l1lI11l;
return lil11ii1lii == null || !lil11ii1lii.Il11lI1l();
}
@IlI1111llI11I
public l1llllI11l111 I111I1IlIl1ll(@II1lll1lIlIl1 CharSequence charSequence) {
this.IIIII11lIlIl = ll1IlI11lll1l(charSequence);
return this;
}
@IlI1111llI11I
public l1llllI11l111 I11I1l1I1l11l(@II1lll1lIlIl1 String str) {
this.lI11lI1l1 = str;
return this;
}
@IlI1111llI11I
public l1llllI11l111 I11lII1l1lIII(int i, int i2) {
Notification notification = this.Ill11IIlII1;
notification.icon = i;
notification.iconLevel = i2;
return this;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
@II1lll1lIlIl1
public IllIlI1l1I I11ll1l1lI11l() {
return this.II11lIlI1lll1;
}
@IlI1111llI11I
public l1llllI11l111 I1II1ll1lI1(int i) {
this.llll11l11l1 = i;
return this;
}
@IlI1111llI11I
public l1llllI11l111 I1Il11llllIl() {
this.Il11lI1III1.clear();
this.I1Il1l11II1lI.clear();
return this;
}
@IlI1111llI11I
public l1llllI11l111 I1Il1l11II1lI(@II1lll1lIlIl1 PendingIntent pendingIntent, boolean z) {
this.lI111l1I1llIl = pendingIntent;
l1I111lllI1l1(128, z);
return this;
}
@l1l1lI1IIl1I(23)
@IlI1111llI11I
public l1llllI11l111 I1IlI1I1lIIl1(@IlI1111llI11I IconCompat iconCompat) {
this.lIllll11l1I1I = iconCompat.llll11l11l1(this.IIllIl1llII);
return this;
}
@IlI1111llI11I
public l1llllI11l111 I1IlIl1llII(@II1lll1lIlIl1 RemoteViews remoteViews) {
this.Ill1l11ll11l = remoteViews;
return this;
}
@IlI1111llI11I
public l1llllI11l111 I1ll1lIII1lIl(int i, int i2, boolean z) {
this.llI1l1l1Il1I = i;
this.IIllll1Il1lIl = i2;
this.lI1l11l11ll = z;
return this;
}
@IlI1111llI11I
public l1llllI11l111 II1111lIIII(boolean z) {
this.III11IIll1lI1 = z;
return this;
}
@IlI1111llI11I
public l1llllI11l111 II11lIlI1lll1(@II1lll1lIlIl1 PendingIntent pendingIntent) {
this.Ill11IIlII1.deleteIntent = pendingIntent;
return this;
}
@IlI1111llI11I
public l1llllI11l111 II1IIll1lIIII(long j) {
this.I1IlIl1llII = j;
return this;
}
@IlI1111llI11I
public l1llllI11l111 III11IIll1lI1(@IlI1111llI11I Il11lI1l il11lI1l) {
il11lI1l.IIllIl1llII(this);
return this;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public RemoteViews IIIII11lIlIl() {
return this.l11llI1Ill1;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public RemoteViews IIl1I11I1lI1l() {
return this.Ill1l11ll11l;
}
@l1l1lI1IIl1I(24)
@IlI1111llI11I
public l1llllI11l111 IIl1ll1ll1l(boolean z) {
this.IIl1I11I1lI1l = z;
llIIlllll111().putBoolean(l1llIII11l.ll1I1I1IIIl1I, z);
return this;
}
@IlI1111llI11I
public l1llllI11l111 IIlIlIlI111ll(@II1lll1lIlIl1 Bitmap bitmap) {
this.IIll11IllI1l = bitmap == null ? null : IconCompat.llIIlllll111(l1llIII11l.l11llI1Ill1(this.IIllIl1llII, bitmap));
return this;
}
@IlI1111llI11I
public l1llllI11l111 IIll11IllI1l() {
this.lIIl1I1I.clear();
Bundle bundle = this.l11l1l11I1.getBundle("android.car.EXTENSIONS");
if (bundle != null) {
Bundle bundle2 = new Bundle(bundle);
bundle2.remove("invisible_actions");
this.l11l1l11I1.putBundle("android.car.EXTENSIONS", bundle2);
}
return this;
}
@IlI1111llI11I
public l1llllI11l111 IIllIl1llII(int i, @II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 PendingIntent pendingIntent) {
this.IlllIll1I1I.add(new IlllIll1I1I(i, charSequence, pendingIntent));
return this;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public int IIllll1Il1lIl() {
return this.l1IlI1lI;
}
@IlI1111llI11I
public l1llllI11l111 Il11lI1III1(@II1lll1lIlIl1 Bundle bundle) {
if (bundle != null) {
Bundle bundle2 = this.l11l1l11I1;
if (bundle2 == null) {
this.l11l1l11I1 = new Bundle(bundle);
} else {
bundle2.putAll(bundle);
}
}
return this;
}
@I1II11I1lIllI
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public int Il11lI1l() {
return this.lI11lI1llIl11;
}
@IlI1111llI11I
public l1llllI11l111 Il11lIlllll1(boolean z) {
l1I111lllI1l1(16, z);
return this;
}
@IlI1111llI11I
public l1llllI11l111 Il1I1l111l1l(int i) {
this.ll1I1I1IIIl1I = i;
return this;
}
@IlI1111llI11I
public l1llllI11l111 Il1IIlIII111(@II1lll1lIlIl1 long[] jArr) {
this.Ill11IIlII1.vibrate = jArr;
return this;
}
@l1l1lI1IIl1I(21)
@IlI1111llI11I
public l1llllI11l111 Il1IlII1(@II1lll1lIlIl1 IlllIll1I1I illlIll1I1I) {
if (illlIll1I1I != null) {
this.lIIl1I1I.add(illlIll1I1I);
}
return this;
}
@IlI1111llI11I
public l1llllI11l111 Il1l1IIIl1ll(boolean z) {
l1I111lllI1l1(2, z);
return this;
}
@IlI1111llI11I
public l1llllI11l111 IlI11I1l11II1(boolean z) {
this.ll1IlI11lll1l = z;
return this;
}
@l1l1lI1IIl1I(23)
@IlI1111llI11I
public l1llllI11l111 IlII1l1l1IIlI(@II1lll1lIlIl1 Icon icon) {
this.IIll11IllI1l = icon == null ? null : IconCompat.l1llllI11l111(icon);
return this;
}
@IlI1111llI11I
public l1llllI11l111 IlIII1l1l111(@II1lll1lIlIl1 CharSequence charSequence) {
this.I1Il11llllIl = ll1IlI11lll1l(charSequence);
return this;
}
@IlI1111llI11I
public l1llllI11l111 IlIIlIlll11I1(@II1lll1lIlIl1 CharSequence charSequence) {
this.Il11lI1l = ll1IlI11lll1l(charSequence);
return this;
}
@IlI1111llI11I
public l1llllI11l111 IlIl1llIlIl1(@II1lll1lIlIl1 I111I1I11lI i111I1I11lI) {
this.lllIl1ll1l1I = i111I1I11lI;
return this;
}
@IlI1111llI11I
public l1llllI11l111 Ill11IIlII1(@II1lll1lIlIl1 Bundle bundle) {
this.l11l1l11I1 = bundle;
return this;
}
@IlI1111llI11I
public l1llllI11l111 Ill1I1IlI1III(boolean z) {
this.l1llllI11l111 = z;
return this;
}
@IlI1111llI11I
public l1llllI11l111 Ill1I1lIIll(long j) {
this.Ill11IIlII1.when = j;
return this;
}
@IlI1111llI11I
public l1llllI11l111 Ill1l11ll11l(boolean z) {
this.ll11111llIl = z;
this.Il11lIlllll1 = true;
return this;
}
@IlI1111llI11I
public l1llllI11l111 Ill1llIIlIlll() {
this.IlllIll1I1I.clear();
return this;
}
@IlI1111llI11I
public l1llllI11l111 IllII1lIII(@II1lll1lIlIl1 RemoteViews remoteViews) {
this.Ill11IIlII1.contentView = remoteViews;
return this;
}
@II1lll1lIlIl1
@SuppressLint({"BuilderSetStyle"})
public RemoteViews IllIlI1l1I() {
RemoteViews lI1l11l11ll;
if (this.l11llI1Ill1 != null && llIl11III1lI1()) {
return this.l11llI1Ill1;
}
IIlIl11l1llI1 iIlIl11l1llI1 = new IIlIl11l1llI1(this);
lIl11II1lII lil11ii1lii = this.I11ll1l1lI11l;
if (lil11ii1lii != null && (lI1l11l11ll = lil11ii1lii.lI1l11l11ll(iIlIl11l1llI1)) != null) {
return lI1l11l11ll;
}
Notification Il11lI1III12 = iIlIl11l1llI1.Il11lI1III1();
return Build.VERSION.SDK_INT >= 24 ? Il11lI1III1.IlllIll1I1I(Il11lI1III1.lIIl1I1I(this.IIllIl1llII, Il11lI1III12)) : Il11lI1III12.contentView;
}
@IlI1111llI11I
public l1llllI11l111 IlllIll1I1I(@II1lll1lIlIl1 IlllIll1I1I illlIll1I1I) {
if (illlIll1I1I != null) {
this.IlllIll1I1I.add(illlIll1I1I);
}
return this;
}
@IlI1111llI11I
public l1llllI11l111 Illllll1Illl(int i) {
this.IllIlI1l1I = i;
return this;
}
@IlI1111llI11I
public l1llllI11l111 l11l1l11I1(@II1lll1lIlIl1 IllIlI1l1I illIlI1l1I) {
this.II11lIlI1lll1 = illIlI1l1I;
return this;
}
@IlI1111llI11I
public l1llllI11l111 l11llI1Ill1(@I1II11I1lIllI int i) {
this.lI11lI1llIl11 = i;
return this;
}
@IlI1111llI11I
public l1llllI11l111 l1I11II1llI1I(@IlI1111llI11I String str) {
this.IlIII1l1l111 = str;
return this;
}
@IlI1111llI11I
public l1llllI11l111 l1I1IIIlI1II1(@II1lll1lIlIl1 l1l1I1I1Ill l1l1i1i1ill) {
if (l1l1i1i1ill == null) {
return this;
}
this.lI11lI1l1 = l1l1i1i1ill.I1Il11llllIl();
if (this.lllIl1ll1l1I == null) {
if (l1l1i1i1ill.III11IIll1lI1() != null) {
this.lllIl1ll1l1I = l1l1i1i1ill.III11IIll1lI1();
} else if (l1l1i1i1ill.I1Il11llllIl() != null) {
this.lllIl1ll1l1I = new I111I1I11lI(l1l1i1i1ill.I1Il11llllIl());
}
}
if (this.Il1IlII1 == null) {
lllIl1ll1l1I(l1l1i1i1ill.lI1l11l11ll());
}
return this;
}
@IlI1111llI11I
public l1llllI11l111 l1Il1IlII1(@II1lll1lIlIl1 Uri uri, int i) {
Notification notification = this.Ill11IIlII1;
notification.sound = uri;
notification.audioStreamType = i;
AudioAttributes.Builder lIIl1I1I = IIllIl1llII.lIIl1I1I(IIllIl1llII.Il11lI1III1(IIllIl1llII.IlllIll1I1I(), 4), i);
this.Ill11IIlII1.audioAttributes = IIllIl1llII.IIllIl1llII(lIIl1I1I);
return this;
}
@IlI1111llI11I
public l1llllI11l111 l1IlI1II1IIll(boolean z) {
l1I111lllI1l1(8, z);
return this;
}
@IlI1111llI11I
public l1llllI11l111 l1IlI1IIII1I(@I1II11I1lIllI int i, int i2, int i3) {
Notification notification = this.Ill11IIlII1;
notification.ledARGB = i;
notification.ledOnMS = i2;
notification.ledOffMS = i3;
notification.flags = ((i2 == 0 || i3 == 0) ? 0 : 1) | (notification.flags & (-2));
return this;
}
@IlI1111llI11I
public l1llllI11l111 l1IlI1lI(@II1lll1lIlIl1 RemoteViews remoteViews) {
this.IllII1lIII = remoteViews;
return this;
}
@IlI1111llI11I
@Deprecated
public l1llllI11l111 l1Illll1lI() {
this.l1I111lllI1l1 = true;
return this;
}
@IlI1111llI11I
public l1llllI11l111 l1l1Il1llII1(boolean z) {
this.lIl11II1lII = z;
return this;
}
@IlI1111llI11I
@Deprecated
public l1llllI11l111 l1lIl1I1IIII(@II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 RemoteViews remoteViews) {
this.Ill11IIlII1.tickerText = ll1IlI11lll1l(charSequence);
this.Ill1llIIlIlll = remoteViews;
return this;
}
@IlI1111llI11I
public l1llllI11l111 l1ll1IllII11(boolean z) {
this.l1I111lllI1l1 = z;
return this;
}
@IlI1111llI11I
public l1llllI11l111 l1llI1111I1lI(@II1lll1lIlIl1 lIl11II1lII lil11ii1lii) {
if (this.I11ll1l1lI11l != lil11ii1lii) {
this.I11ll1l1lI11l = lil11ii1lii;
if (lil11ii1lii != null) {
lil11ii1lii.llll1IlllIl1(this);
}
}
return this;
}
@II1lll1lIlIl1
@SuppressLint({"BuilderSetStyle"})
public RemoteViews l1llllI11l111() {
RemoteViews lllIlIl11ll;
int i = Build.VERSION.SDK_INT;
if (this.IllII1lIII != null && llIl11III1lI1()) {
return this.IllII1lIII;
}
IIlIl11l1llI1 iIlIl11l1llI1 = new IIlIl11l1llI1(this);
lIl11II1lII lil11ii1lii = this.I11ll1l1lI11l;
if (lil11ii1lii != null && (lllIlIl11ll = lil11ii1lii.lllIlIl11ll(iIlIl11l1llI1)) != null) {
return lllIlIl11ll;
}
Notification Il11lI1III12 = iIlIl11l1llI1.Il11lI1III1();
return i >= 24 ? Il11lI1III1.Il11lI1III1(Il11lI1III1.lIIl1I1I(this.IIllIl1llII, Il11lI1III12)) : Il11lI1III12.headsUpContentView;
}
@IlI1111llI11I
public l1llllI11l111 lI11111lI1(@II1lll1lIlIl1 I1lIIlI1lIII i1lIIlI1lIII) {
if (i1lIIlI1lIII != null) {
this.Il11lI1III1.add(i1lIIlI1lIII);
}
return this;
}
@IlI1111llI11I
public l1llllI11l111 lI1111IllIl1(int i) {
Notification notification = this.Ill11IIlII1;
notification.defaults = i;
if ((i & 4) != 0) {
notification.flags |= 1;
}
return this;
}
@IlI1111llI11I
public Notification lI111l1I1llIl() {
return new IIlIl11l1llI1(this).Il11lI1III1();
}
@IlI1111llI11I
public l1llllI11l111 lI11lI1l1(@II1lll1lIlIl1 CharSequence charSequence) {
this.lI11111lI1 = ll1IlI11lll1l(charSequence);
return this;
}
@IlI1111llI11I
public l1llllI11l111 lI11lI1llIl11(@II1lll1lIlIl1 String str) {
this.I1II1ll1lI1 = str;
return this;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public RemoteViews lI1l11l11ll() {
return this.IllII1lIII;
}
@IlI1111llI11I
public l1llllI11l111 lI1ll1I1I11Il(@II1lll1lIlIl1 CharSequence charSequence) {
this.Ill11IIlII1.tickerText = ll1IlI11lll1l(charSequence);
return this;
}
@IlI1111llI11I
@Deprecated
public l1llllI11l111 lII1lI1Illl(@II1lll1lIlIl1 String str) {
if (str != null && !str.isEmpty()) {
this.I1Il1l11II1lI.add(str);
}
return this;
}
@IlI1111llI11I
public l1llllI11l111 lIIIlIll(int i) {
this.l1I11II1llI1I = i;
return this;
}
@l1l1lI1IIl1I(21)
@IlI1111llI11I
public l1llllI11l111 lIIl1I1I(int i, @II1lll1lIlIl1 CharSequence charSequence, @II1lll1lIlIl1 PendingIntent pendingIntent) {
this.lIIl1I1I.add(new IlllIll1I1I(i, charSequence, pendingIntent));
return this;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public int lIl11II1lII() {
return this.IllIlI1l1I;
}
@IlI1111llI11I
public l1llllI11l111 lIlI1IIllI1(@II1lll1lIlIl1 String str) {
this.lllIlIl11ll = str;
return this;
}
@IlI1111llI11I
public l1llllI11l111 lIll11IlII1Il(int i) {
this.Ill11IIlII1.icon = i;
return this;
}
@IlI1111llI11I
public l1llllI11l111 lIlll1lIII1(@II1lll1lIlIl1 CharSequence[] charSequenceArr) {
this.llIIlllll111 = charSequenceArr;
return this;
}
@IlI1111llI11I
public l1llllI11l111 lIllll11l1I1I(int i) {
this.l1IlI1lI = i;
return this;
}
@IlI1111llI11I
public l1llllI11l111 ll11111llIl(boolean z) {
this.lI1111IllIl1 = z;
return this;
}
@IlI1111llI11I
public l1llllI11l111 ll11lIII1lll(int i) {
this.ll11llIII1111 = i;
return this;
}
@II1lll1lIlIl1
@SuppressLint({"BuilderSetStyle"})
public RemoteViews ll11llIII1111() {
RemoteViews IIllll1Il1lIl;
if (this.Ill1l11ll11l != null && llIl11III1lI1()) {
return this.Ill1l11ll11l;
}
IIlIl11l1llI1 iIlIl11l1llI1 = new IIlIl11l1llI1(this);
lIl11II1lII lil11ii1lii = this.I11ll1l1lI11l;
if (lil11ii1lii != null && (IIllll1Il1lIl = lil11ii1lii.IIllll1Il1lIl(iIlIl11l1llI1)) != null) {
return IIllll1Il1lIl;
}
Notification Il11lI1III12 = iIlIl11l1llI1.Il11lI1III1();
return Build.VERSION.SDK_INT >= 24 ? Il11lI1III1.IIllIl1llII(Il11lI1III1.lIIl1I1I(this.IIllIl1llII, Il11lI1III12)) : Il11lI1III12.bigContentView;
}
@IlI1111llI11I
public l1llllI11l111 ll1I1I1IIIl1I(@II1lll1lIlIl1 RemoteViews remoteViews) {
this.l11llI1Ill1 = remoteViews;
return this;
}
@IlI1111llI11I
public l1llllI11l111 ll1ll1IllII(@II1lll1lIlIl1 String str) {
this.llll1IlllIl1 = str;
return this;
}
@IlI1111llI11I
public l1llllI11l111 llIIlIIllI111(@II1lll1lIlIl1 Notification notification) {
this.IIl1ll1ll1l = notification;
return this;
}
@IlI1111llI11I
public Bundle llIIlllll111() {
if (this.l11l1l11I1 == null) {
this.l11l1l11I1 = new Bundle();
}
return this.l11l1l11I1;
}
@IlI1111llI11I
public l1llllI11l111 lllIl1ll1l1I(@II1lll1lIlIl1 CharSequence charSequence) {
this.Il1IlII1 = ll1IlI11lll1l(charSequence);
return this;
}
@IlI1111llI11I
@Deprecated
public Notification lllIlIl11ll() {
return lI111l1I1llIl();
}
@IlI1111llI11I
public l1llllI11l111 llll11l11l1(@II1lll1lIlIl1 PendingIntent pendingIntent) {
this.lII1lI1Illl = pendingIntent;
return this;
}
@lIIIl1IlI1llI({lIIIl1IlI1llI.IIllIl1llII.LIBRARY_GROUP_PREFIX})
public long llll1IlllIl1() {
if (this.l1llllI11l111) {
return this.Ill11IIlII1.when;
}
return 0L;
}
@IlI1111llI11I
public l1llllI11l111 llllII1llIlI(@II1lll1lIlIl1 Uri uri) {
Notification notification = this.Ill11IIlII1;
notification.sound = uri;
notification.audioStreamType = -1;
AudioAttributes.Builder Il1IlII1 = IIllIl1llII.Il1IlII1(IIllIl1llII.Il11lI1III1(IIllIl1llII.IlllIll1I1I(), 4), 5);
this.Ill11IIlII1.audioAttributes = IIllIl1llII.IIllIl1llII(Il1IlII1);
return this;
}
public l1llllI11l111(@IlI1111llI11I Context context, @IlI1111llI11I String str) {
this.IlllIll1I1I = new ArrayList<>();
this.Il11lI1III1 = new ArrayList<>();
this.lIIl1I1I = new ArrayList<>();
this.l1llllI11l111 = true;
this.ll1IlI11lll1l = false;
this.lI11lI1llIl11 = 0;
this.l1I11II1llI1I = 0;
this.llll11l11l1 = 0;
this.ll1I1I1IIIl1I = 0;
this.l1IlI1lI = 0;
Notification notification = new Notification();
this.Ill11IIlII1 = notification;
this.IIllIl1llII = context;
this.IlIII1l1l111 = str;
notification.when = System.currentTimeMillis();
this.Ill11IIlII1.audioStreamType = -1;
this.IllIlI1l1I = 0;
this.I1Il1l11II1lI = new ArrayList<>();
this.lI1111IllIl1 = true;
}
@Deprecated
public l1llllI11l111(@IlI1111llI11I Context context) {
this(context, (String) null);
}
}
}