Recover Files v1.3.9版本的 MD5 值为:27a8b2c239c6cb7111d74d6bb07d21b2
以下内容为反编译后的 n.java 源代码,内容仅作参考
package com.game.humpbackwhale.recover.files.utils;
import android.content.Intent;
import android.net.Uri;
import android.text.TextUtils;
import androidx.annotation.Nullable;
import com.blankj.utilcode.util.d2;
public class n {
@Nullable
public static String a(String str, String str2) {
int i10;
if (!TextUtils.isEmpty(str) && !TextUtils.isEmpty(str2)) {
int length = str.length();
int i11 = 0;
while (true) {
int indexOf = str.indexOf(38, i11);
if (indexOf != -1) {
i10 = indexOf;
} else {
i10 = length;
}
int indexOf2 = str.indexOf(61, i11);
if (indexOf2 > i10 || indexOf2 == -1) {
indexOf2 = i10;
}
if (indexOf2 - i11 == str2.length() && str.regionMatches(i11, str2, 0, str2.length())) {
if (indexOf2 == i10) {
return "";
}
return str.substring(indexOf2 + 1, i10);
}
if (indexOf == -1) {
break;
}
i11 = indexOf + 1;
}
}
return null;
}
public static void b(String str) {
Intent intent = new Intent();
intent.addFlags(268435456);
intent.setAction("android.intent.action.VIEW");
intent.setData(Uri.parse("https://play.google.com/store/apps/details?id=" + str));
try {
d2.a().startActivity(intent);
} catch (Exception unused) {
}
}
public static void c() {
new StringBuilder("打开导量的网址: ").append(p.m());
d(p.m().f20842a);
}
public static void d(String str) {
Intent intent = new Intent();
intent.addFlags(268435456);
intent.setAction("android.intent.action.VIEW");
intent.setData(Uri.parse(str));
try {
d2.a().startActivity(intent);
} catch (Exception unused) {
}
}
}