正在查看: bbinstant v6.24.0 应用的 WorkflowActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: bbinstant v6.24.0 应用的 WorkflowActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.amazon.identity.auth.device.workflow;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import com.amazon.identity.auth.device.AuthError;
import com.amazon.identity.auth.device.ResponseManager;
import com.amazon.identity.auth.device.a;
import com.amazon.identity.auth.device.b;
import com.amazon.identity.auth.internal.BrowsingExperienceManager;
@SuppressLint({"Registered"})
public final class WorkflowActivity extends Activity {
@Override
public final void onCreate(Bundle bundle) {
String a2;
b bVar;
a aVar;
super.onCreate(bundle);
try {
a2 = b.a(getIntent().getData());
Uri data = getIntent().getData();
if (data != null) {
try {
if (b.b(data)) {
ResponseManager.a().a(a2, data);
} else {
Context applicationContext = getApplicationContext();
synchronized (b.class) {
try {
if (b.f473c == null) {
b.f473c = new b(BrowsingExperienceManager.getInstance(applicationContext));
}
bVar = b.f473c;
} finally {
}
}
Context applicationContext2 = getApplicationContext();
bVar.getClass();
String a3 = b.a(data);
data.toString();
a remove = bVar.f474a.remove(a3);
if (remove == null) {
data.toString();
} else if (!remove.handleResponse(data, applicationContext2)) {
bVar.a(remove, applicationContext2);
}
}
} catch (AuthError unused) {
data.toString();
}
}
aVar = b.a(this).f474a.get(a2);
} catch (AuthError unused2) {
getIntent().getData().toString();
}
if (aVar == null) {
throw new AuthError(String.format("Could not find request id: %s in active requests", a2), AuthError.ERROR_TYPE.ERROR_UNKNOWN);
}
Intent invokingIntent = aVar.getOriginalRequest().getRequestContext().getInvokingIntent();
if (invokingIntent != null) {
invokingIntent.setFlags(603979776);
invokingIntent.putExtra("authResponse", getIntent().getData().toString());
startActivity(invokingIntent);
}
finish();
}
}