正在查看: 密秀 v1.0 应用的 f0.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 密秀 v1.0 应用的 f0.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package w;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.util.Log;
import e.InterfaceC0606P;
import e.InterfaceC0628u;
import java.util.ArrayList;
import java.util.Iterator;
import y.C1011d;
public final class f0 implements Iterable<Intent> {
public static final String tooThaica4Wah5zi = "TaskStackBuilder";
public final ArrayList<Intent> ma1aej6cohmutahY = new ArrayList<>();
public final Context yithei7eiPhau7sh;
@e.Y(16)
public static class a {
@InterfaceC0628u
public static PendingIntent eiNaiXooTicou8Va(Context context, int i2, Intent[] intentArr, int i3, Bundle bundle) {
return PendingIntent.getActivities(context, i2, intentArr, i3, bundle);
}
}
public interface b {
@e.S
Intent yahWouv7Quaeng0e();
}
public f0(Context context) {
this.yithei7eiPhau7sh = context;
}
@Deprecated
public static f0 Queig1oK2deemolu(Context context) {
return beNga4uimu4icair(context);
}
@InterfaceC0606P
public static f0 beNga4uimu4icair(@InterfaceC0606P Context context) {
return new f0(context);
}
@InterfaceC0606P
public f0 NieGhae7ciej4eis(@InterfaceC0606P Class<?> cls) {
return koo6ahlohTh1Eiph(new ComponentName(this.yithei7eiPhau7sh, cls));
}
@Deprecated
public Intent aBomi9thoodupaik(int i2) {
return taim3fie8aecho4I(i2);
}
@e.S
public PendingIntent aiko1aediivuucaV(int i2, int i3, @e.S Bundle bundle) {
if (this.ma1aej6cohmutahY.isEmpty()) {
throw new IllegalStateException("No intents added to TaskStackBuilder; cannot getPendingIntent");
}
Intent[] intentArr = (Intent[]) this.ma1aej6cohmutahY.toArray(new Intent[0]);
intentArr[0] = new Intent(intentArr[0]).addFlags(268484608);
return a.eiNaiXooTicou8Va(this.yithei7eiPhau7sh, i2, intentArr, i3, bundle);
}
@InterfaceC0606P
public f0 chaiv0eodohJaig0(@InterfaceC0606P Intent intent) {
ComponentName component = intent.getComponent();
if (component == null) {
component = intent.resolveActivity(this.yithei7eiPhau7sh.getPackageManager());
}
if (component != null) {
koo6ahlohTh1Eiph(component);
}
eiNaiXooTicou8Va(intent);
return this;
}
@InterfaceC0606P
public f0 eiNaiXooTicou8Va(@InterfaceC0606P Intent intent) {
this.ma1aej6cohmutahY.add(intent);
return this;
}
@Override
@InterfaceC0606P
@Deprecated
public Iterator<Intent> iterator() {
return this.ma1aej6cohmutahY.iterator();
}
@InterfaceC0606P
public f0 koo6ahlohTh1Eiph(@InterfaceC0606P ComponentName componentName) {
int size = this.ma1aej6cohmutahY.size();
try {
Context context = this.yithei7eiPhau7sh;
while (true) {
Intent chaiv0eodohJaig0 = C0980z.chaiv0eodohJaig0(context, componentName);
if (chaiv0eodohJaig0 == null) {
return this;
}
this.ma1aej6cohmutahY.add(size, chaiv0eodohJaig0);
context = this.yithei7eiPhau7sh;
componentName = chaiv0eodohJaig0.getComponent();
}
} catch (PackageManager.NameNotFoundException e2) {
Log.e(tooThaica4Wah5zi, "Bad ComponentName while traversing activity parent metadata");
throw new IllegalArgumentException(e2);
}
}
public void lookojoo9eiZ2iph(@e.S Bundle bundle) {
if (this.ma1aej6cohmutahY.isEmpty()) {
throw new IllegalStateException("No intents added to TaskStackBuilder; cannot startActivities");
}
Intent[] intentArr = (Intent[]) this.ma1aej6cohmutahY.toArray(new Intent[0]);
intentArr[0] = new Intent(intentArr[0]).addFlags(268484608);
if (C1011d.Lah9AeB4johzoa5c(this.yithei7eiPhau7sh, intentArr, bundle)) {
return;
}
Intent intent = new Intent(intentArr[intentArr.length - 1]);
intent.addFlags(268435456);
this.yithei7eiPhau7sh.startActivity(intent);
}
public int ma1aej6cohmutahY() {
return this.ma1aej6cohmutahY.size();
}
@e.S
public Intent taim3fie8aecho4I(int i2) {
return this.ma1aej6cohmutahY.get(i2);
}
@e.S
public PendingIntent tooThaica4Wah5zi(int i2, int i3) {
return aiko1aediivuucaV(i2, i3, null);
}
public void uquah9aeNg8ohxoh() {
lookojoo9eiZ2iph(null);
}
@InterfaceC0606P
public Intent[] yithei7eiPhau7sh() {
int size = this.ma1aej6cohmutahY.size();
Intent[] intentArr = new Intent[size];
if (size == 0) {
return intentArr;
}
intentArr[0] = new Intent(this.ma1aej6cohmutahY.get(0)).addFlags(268484608);
for (int i2 = 1; i2 < size; i2++) {
intentArr[i2] = new Intent(this.ma1aej6cohmutahY.get(i2));
}
return intentArr;
}
@InterfaceC0606P
public f0 zie5kei7aiJe1iek(@InterfaceC0606P Activity activity) {
Intent yahWouv7Quaeng0e = activity instanceof b ? ((b) activity).yahWouv7Quaeng0e() : null;
if (yahWouv7Quaeng0e == null) {
yahWouv7Quaeng0e = C0980z.eiNaiXooTicou8Va(activity);
}
if (yahWouv7Quaeng0e != null) {
ComponentName component = yahWouv7Quaeng0e.getComponent();
if (component == null) {
component = yahWouv7Quaeng0e.resolveActivity(this.yithei7eiPhau7sh.getPackageManager());
}
koo6ahlohTh1Eiph(component);
eiNaiXooTicou8Va(yahWouv7Quaeng0e);
}
return this;
}
}