正在查看: Minits v4.9.3.32 应用的 r.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Minits v4.9.3.32 应用的 r.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package z0;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.drawable.Icon;
import android.media.AudioAttributes;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.widget.RemoteViews;
import androidx.core.graphics.drawable.IconCompat;
import java.util.ArrayList;
import java.util.Arrays;
import y0.AbstractC3485b;
public abstract class r {
public static class a {
public final Bundle f28528a;
public IconCompat f28529b;
public final z[] f28530c;
public final z[] f28531d;
public boolean f28532e;
public boolean f28533f;
public final int f28534g;
public final boolean f28535h;
public int f28536i;
public CharSequence f28537j;
public PendingIntent f28538k;
public boolean f28539l;
public static final class C0214a {
public final IconCompat f28540a;
public final CharSequence f28541b;
public final PendingIntent f28542c;
public boolean f28543d;
public final Bundle f28544e;
public ArrayList f28545f;
public int f28546g;
public boolean f28547h;
public boolean f28548i;
public boolean f28549j;
public C0214a(int i8, CharSequence charSequence, PendingIntent pendingIntent) {
this(i8 != 0 ? IconCompat.c(null, "", i8) : null, charSequence, pendingIntent, new Bundle(), null, true, 0, true, false, false);
}
public C0214a a(z zVar) {
if (this.f28545f == null) {
this.f28545f = new ArrayList();
}
if (zVar != null) {
this.f28545f.add(zVar);
}
return this;
}
public a b() {
c();
ArrayList arrayList = new ArrayList();
ArrayList arrayList2 = new ArrayList();
ArrayList arrayList3 = this.f28545f;
if (arrayList3 != null) {
int size = arrayList3.size();
int i8 = 0;
while (i8 < size) {
Object obj = arrayList3.get(i8);
i8++;
z zVar = (z) obj;
if (zVar.k()) {
arrayList.add(zVar);
} else {
arrayList2.add(zVar);
}
}
}
return new a(this.f28540a, this.f28541b, this.f28542c, this.f28544e, arrayList2.isEmpty() ? null : (z[]) arrayList2.toArray(new z[arrayList2.size()]), arrayList.isEmpty() ? null : (z[]) arrayList.toArray(new z[arrayList.size()]), this.f28543d, this.f28546g, this.f28547h, this.f28548i, this.f28549j);
}
public final void c() {
if (this.f28548i && this.f28542c == null) {
throw new NullPointerException("Contextual Actions must contain a valid PendingIntent");
}
}
public C0214a(IconCompat iconCompat, CharSequence charSequence, PendingIntent pendingIntent, Bundle bundle, z[] zVarArr, boolean z8, int i8, boolean z9, boolean z10, boolean z11) {
this.f28543d = true;
this.f28547h = true;
this.f28540a = iconCompat;
this.f28541b = e.e(charSequence);
this.f28542c = pendingIntent;
this.f28544e = bundle;
this.f28545f = zVarArr == null ? null : new ArrayList(Arrays.asList(zVarArr));
this.f28543d = z8;
this.f28546g = i8;
this.f28547h = z9;
this.f28548i = z10;
this.f28549j = z11;
}
}
public a(int i8, CharSequence charSequence, PendingIntent pendingIntent) {
this(i8 != 0 ? IconCompat.c(null, "", i8) : null, charSequence, pendingIntent);
}
public PendingIntent a() {
return this.f28538k;
}
public boolean b() {
return this.f28532e;
}
public Bundle c() {
return this.f28528a;
}
public IconCompat d() {
int i8;
if (this.f28529b == null && (i8 = this.f28536i) != 0) {
this.f28529b = IconCompat.c(null, "", i8);
}
return this.f28529b;
}
public z[] e() {
return this.f28530c;
}
public int f() {
return this.f28534g;
}
public boolean g() {
return this.f28533f;
}
public CharSequence h() {
return this.f28537j;
}
public boolean i() {
return this.f28539l;
}
public boolean j() {
return this.f28535h;
}
public a(IconCompat iconCompat, CharSequence charSequence, PendingIntent pendingIntent) {
this(iconCompat, charSequence, pendingIntent, new Bundle(), null, null, true, 0, true, false, false);
}
public a(IconCompat iconCompat, CharSequence charSequence, PendingIntent pendingIntent, Bundle bundle, z[] zVarArr, z[] zVarArr2, boolean z8, int i8, boolean z9, boolean z10, boolean z11) {
this.f28533f = true;
this.f28529b = iconCompat;
if (iconCompat != null && iconCompat.g() == 2) {
this.f28536i = iconCompat.e();
}
this.f28537j = e.e(charSequence);
this.f28538k = pendingIntent;
this.f28528a = bundle == null ? new Bundle() : bundle;
this.f28530c = zVarArr;
this.f28531d = zVarArr2;
this.f28532e = z8;
this.f28534g = i8;
this.f28533f = z9;
this.f28535h = z10;
this.f28539l = z11;
}
}
public static class b extends f {
public IconCompat f28550e;
public IconCompat f28551f;
public boolean f28552g;
public CharSequence f28553h;
public boolean f28554i;
public static class a {
public static void a(Notification.BigPictureStyle bigPictureStyle, Icon icon) {
bigPictureStyle.bigLargeIcon(icon);
}
}
public static class C0215b {
public static void a(Notification.BigPictureStyle bigPictureStyle, Icon icon) {
bigPictureStyle.bigPicture(icon);
}
public static void b(Notification.BigPictureStyle bigPictureStyle, CharSequence charSequence) {
bigPictureStyle.setContentDescription(charSequence);
}
public static void c(Notification.BigPictureStyle bigPictureStyle, boolean z8) {
bigPictureStyle.showBigPictureWhenCollapsed(z8);
}
}
@Override
public void b(q qVar) {
Notification.BigPictureStyle bigContentTitle = new Notification.BigPictureStyle(qVar.a()).setBigContentTitle(this.f28604b);
IconCompat iconCompat = this.f28550e;
if (iconCompat != null) {
if (Build.VERSION.SDK_INT >= 31) {
C0215b.a(bigContentTitle, this.f28550e.m(qVar instanceof s ? ((s) qVar).f() : null));
} else if (iconCompat.g() == 1) {
bigContentTitle = bigContentTitle.bigPicture(this.f28550e.d());
}
}
if (this.f28552g) {
IconCompat iconCompat2 = this.f28551f;
if (iconCompat2 == null) {
bigContentTitle.bigLargeIcon((Bitmap) null);
} else if (Build.VERSION.SDK_INT >= 23) {
a.a(bigContentTitle, this.f28551f.m(qVar instanceof s ? ((s) qVar).f() : null));
} else if (iconCompat2.g() == 1) {
bigContentTitle.bigLargeIcon(this.f28551f.d());
} else {
bigContentTitle.bigLargeIcon((Bitmap) null);
}
}
if (this.f28606d) {
bigContentTitle.setSummaryText(this.f28605c);
}
if (Build.VERSION.SDK_INT >= 31) {
C0215b.c(bigContentTitle, this.f28554i);
C0215b.b(bigContentTitle, this.f28553h);
}
}
@Override
public String c() {
return "androidx.core.app.NotificationCompat$BigPictureStyle";
}
public b h(Bitmap bitmap) {
this.f28551f = bitmap == null ? null : IconCompat.b(bitmap);
this.f28552g = true;
return this;
}
public b i(Bitmap bitmap) {
this.f28550e = bitmap == null ? null : IconCompat.b(bitmap);
return this;
}
}
public static class c extends f {
public CharSequence f28555e;
@Override
public void a(Bundle bundle) {
super.a(bundle);
}
@Override
public void b(q qVar) {
Notification.BigTextStyle bigText = new Notification.BigTextStyle(qVar.a()).setBigContentTitle(this.f28604b).bigText(this.f28555e);
if (this.f28606d) {
bigText.setSummaryText(this.f28605c);
}
}
@Override
public String c() {
return "androidx.core.app.NotificationCompat$BigTextStyle";
}
public c h(CharSequence charSequence) {
this.f28555e = e.e(charSequence);
return this;
}
}
public static final class d {
public static Notification.BubbleMetadata a(d dVar) {
return null;
}
}
public static abstract class f {
public e f28603a;
public CharSequence f28604b;
public CharSequence f28605c;
public boolean f28606d = false;
public void a(Bundle bundle) {
if (this.f28606d) {
bundle.putCharSequence("android.summaryText", this.f28605c);
}
CharSequence charSequence = this.f28604b;
if (charSequence != null) {
bundle.putCharSequence("android.title.big", charSequence);
}
String c8 = c();
if (c8 != null) {
bundle.putString("androidx.core.app.extra.COMPAT_TEMPLATE", c8);
}
}
public abstract void b(q qVar);
public abstract String c();
public RemoteViews d(q qVar) {
return null;
}
public RemoteViews e(q qVar) {
return null;
}
public RemoteViews f(q qVar) {
return null;
}
public void g(e eVar) {
if (this.f28603a != eVar) {
this.f28603a = eVar;
if (eVar != null) {
eVar.A(this);
}
}
}
}
public static Bundle a(Notification notification) {
return notification.extras;
}
public static Bitmap b(Context context, Bitmap bitmap) {
if (bitmap == null || Build.VERSION.SDK_INT >= 27) {
return bitmap;
}
Resources resources = context.getResources();
int dimensionPixelSize = resources.getDimensionPixelSize(AbstractC3485b.f27899b);
int dimensionPixelSize2 = resources.getDimensionPixelSize(AbstractC3485b.f27898a);
if (bitmap.getWidth() <= dimensionPixelSize && bitmap.getHeight() <= dimensionPixelSize2) {
return bitmap;
}
double min = Math.min(dimensionPixelSize / Math.max(1, bitmap.getWidth()), dimensionPixelSize2 / Math.max(1, bitmap.getHeight()));
return Bitmap.createScaledBitmap(bitmap, (int) Math.ceil(bitmap.getWidth() * min), (int) Math.ceil(bitmap.getHeight() * min), true);
}
public static class e {
public boolean f28556A;
public boolean f28557B;
public String f28558C;
public Bundle f28559D;
public int f28560E;
public int f28561F;
public Notification f28562G;
public RemoteViews f28563H;
public RemoteViews f28564I;
public RemoteViews f28565J;
public String f28566K;
public int f28567L;
public String f28568M;
public long f28569N;
public int f28570O;
public int f28571P;
public boolean f28572Q;
public Notification f28573R;
public boolean f28574S;
public Object f28575T;
public ArrayList f28576U;
public Context f28577a;
public ArrayList f28578b;
public ArrayList f28579c;
public ArrayList f28580d;
public CharSequence f28581e;
public CharSequence f28582f;
public PendingIntent f28583g;
public PendingIntent f28584h;
public RemoteViews f28585i;
public IconCompat f28586j;
public CharSequence f28587k;
public int f28588l;
public int f28589m;
public boolean f28590n;
public boolean f28591o;
public f f28592p;
public CharSequence f28593q;
public CharSequence f28594r;
public CharSequence[] f28595s;
public int f28596t;
public int f28597u;
public boolean f28598v;
public String f28599w;
public boolean f28600x;
public String f28601y;
public boolean f28602z;
public static class a {
public static AudioAttributes a(AudioAttributes.Builder builder) {
return builder.build();
}
public static AudioAttributes.Builder b() {
return new AudioAttributes.Builder();
}
public static AudioAttributes.Builder c(AudioAttributes.Builder builder, int i8) {
return builder.setContentType(i8);
}
public static AudioAttributes.Builder d(AudioAttributes.Builder builder, int i8) {
return builder.setUsage(i8);
}
}
public e(Context context, String str) {
this.f28578b = new ArrayList();
this.f28579c = new ArrayList();
this.f28580d = new ArrayList();
this.f28590n = true;
this.f28602z = false;
this.f28560E = 0;
this.f28561F = 0;
this.f28567L = 0;
this.f28570O = 0;
this.f28571P = 0;
Notification notification = new Notification();
this.f28573R = notification;
this.f28577a = context;
this.f28566K = str;
notification.when = System.currentTimeMillis();
this.f28573R.audioStreamType = -1;
this.f28589m = 0;
this.f28576U = new ArrayList();
this.f28572Q = true;
}
public static CharSequence e(CharSequence charSequence) {
return charSequence == null ? charSequence : charSequence.length() > 5120 ? charSequence.subSequence(0, 5120) : charSequence;
}
public e A(f fVar) {
if (this.f28592p != fVar) {
this.f28592p = fVar;
if (fVar != null) {
fVar.g(this);
}
}
return this;
}
public e B(CharSequence charSequence) {
this.f28573R.tickerText = e(charSequence);
return this;
}
public e C(boolean z8) {
this.f28591o = z8;
return this;
}
public e D(long[] jArr) {
this.f28573R.vibrate = jArr;
return this;
}
public e E(int i8) {
this.f28561F = i8;
return this;
}
public e F(long j8) {
this.f28573R.when = j8;
return this;
}
public e a(int i8, CharSequence charSequence, PendingIntent pendingIntent) {
this.f28578b.add(new a(i8, charSequence, pendingIntent));
return this;
}
public e b(a aVar) {
if (aVar != null) {
this.f28578b.add(aVar);
}
return this;
}
public Notification c() {
return new s(this).c();
}
public Bundle d() {
if (this.f28559D == null) {
this.f28559D = new Bundle();
}
return this.f28559D;
}
public e f(boolean z8) {
p(16, z8);
return this;
}
public e g(String str) {
this.f28566K = str;
return this;
}
public e h(int i8) {
this.f28560E = i8;
return this;
}
public e i(boolean z8) {
this.f28556A = z8;
this.f28557B = true;
return this;
}
public e j(RemoteViews remoteViews) {
this.f28573R.contentView = remoteViews;
return this;
}
public e k(PendingIntent pendingIntent) {
this.f28583g = pendingIntent;
return this;
}
public e l(CharSequence charSequence) {
this.f28582f = e(charSequence);
return this;
}
public e m(CharSequence charSequence) {
this.f28581e = e(charSequence);
return this;
}
public e n(int i8) {
Notification notification = this.f28573R;
notification.defaults = i8;
if ((i8 & 4) != 0) {
notification.flags |= 1;
}
return this;
}
public e o(PendingIntent pendingIntent) {
this.f28573R.deleteIntent = pendingIntent;
return this;
}
public final void p(int i8, boolean z8) {
if (z8) {
Notification notification = this.f28573R;
notification.flags = i8 | notification.flags;
} else {
Notification notification2 = this.f28573R;
notification2.flags = (~i8) & notification2.flags;
}
}
public e q(String str) {
this.f28599w = str;
return this;
}
public e r(Bitmap bitmap) {
this.f28586j = bitmap == null ? null : IconCompat.b(r.b(this.f28577a, bitmap));
return this;
}
public e s(int i8, int i9, int i10) {
Notification notification = this.f28573R;
notification.ledARGB = i8;
notification.ledOnMS = i9;
notification.ledOffMS = i10;
notification.flags = ((i9 == 0 || i10 == 0) ? 0 : 1) | (notification.flags & (-2));
return this;
}
public e t(boolean z8) {
this.f28602z = z8;
return this;
}
public e u(int i8) {
this.f28588l = i8;
return this;
}
public e v(boolean z8) {
p(2, z8);
return this;
}
public e w(int i8) {
this.f28589m = i8;
return this;
}
public e x(boolean z8) {
this.f28590n = z8;
return this;
}
public e y(int i8) {
this.f28573R.icon = i8;
return this;
}
public e z(Uri uri) {
Notification notification = this.f28573R;
notification.sound = uri;
notification.audioStreamType = -1;
AudioAttributes.Builder d8 = a.d(a.c(a.b(), 4), 5);
this.f28573R.audioAttributes = a.a(d8);
return this;
}
public e(Context context) {
this(context, null);
}
}
}