Currency Plus v2.10.8版本的 MD5 值为:8586f74edd9ace5aa261a19c9da51484

以下内容为反编译后的 b.java 源代码,内容仅作参考


package k8;

import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import f8.j;
import ti.g;
import ti.l;
import xa.c;
public final class b {
    public static final a f22030a = new a(null);
    public static final String f22031b = "ApsUtils";
    public static final String f22032c = "amzn";
    public static final String f22033d = "https://www.amazon.com/gp/mas/dl/android?";
    public static final String f22034e = "https://play.google.com/store/apps/";

    public static final class a {
        public a(g gVar) {
        }

        public static void a(Context context, Uri uri) throws ActivityNotFoundException, NullPointerException {
            String str;
            l.f(context, c.CONTEXT);
            if (l.a(b.f22032c, uri.getScheme())) {
                j.a(b.f22031b, "Amazon app store unavailable in the device");
                str = l.k(uri.getQuery(), b.f22033d);
            } else {
                j.a(b.f22031b, "App store unavailable in the device");
                str = b.f22034e + ((Object) uri.getHost()) + '?' + ((Object) uri.getQuery());
            }
            Intent intent = new Intent("android.intent.action.VIEW");
            intent.setData(Uri.parse(str));
            context.startActivity(intent);
        }
    }
}