X-plore v4.37.09版本的 MD5 值为:1ac588cd7c13e9578c2d4266387e2f4f
以下内容为反编译后的 b.java 源代码,内容仅作参考
package com.amazon.device.iap.internal.b;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import com.amazon.android.framework.context.ContextManager;
import com.amazon.android.framework.prompt.PromptContent;
import com.amazon.android.framework.prompt.SimplePrompt;
import com.amazon.android.framework.resource.Resource;
public class b extends SimplePrompt {
private static final String f22401a = b.class.getSimpleName();
@Resource
private ContextManager f22402b;
private final PromptContent f22403c;
public b(PromptContent promptContent) {
super(promptContent);
this.f22403c = promptContent;
}
protected void doAction() {
com.amazon.device.iap.internal.util.e.a(f22401a, "doAction");
if ("Amazon Appstore required".equalsIgnoreCase(this.f22403c.getTitle()) || "Amazon Appstore Update Required".equalsIgnoreCase(this.f22403c.getTitle())) {
try {
Activity visible = this.f22402b.getVisible();
if (visible == null) {
visible = this.f22402b.getRoot();
}
visible.startActivity(new Intent("android.intent.action.VIEW", Uri.parse("http://www.amazon.com/gp/mas/get-appstore/android/ref=mas_mx_mba_iap_dl")));
} catch (Exception e9) {
com.amazon.device.iap.internal.util.e.b(f22401a, "Exception in PurchaseItemCommandTask.OnSuccess: " + e9);
}
}
}
protected long getExpirationDurationInSeconds() {
return 31536000L;
}
public String toString() {
return f22401a;
}
}