Pdf Converter v5.0版本的 MD5 值为:258149214e8277c73fa6b365aba312ef
以下内容为反编译后的 t.java 源代码,内容仅作参考
package j6;
import android.app.Application;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.util.Base64;
import android.util.Log;
import d7.v;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.json.JSONException;
import org.json.JSONObject;
public final class t implements Runnable {
public final int f19534r;
public final Object f19535s;
public t(int i10, Object obj) {
this.f19534r = i10;
this.f19535s = obj;
}
@Override
public final void run() {
String concat;
int i10 = this.f19534r;
Object obj = this.f19535s;
switch (i10) {
case 0:
if (((q7.j) obj).c(new IOException("TIMEOUT"))) {
Log.w("Rpc", "No response");
return;
}
return;
default:
v vVar = (v) obj;
Application application = vVar.f16444a;
JSONObject jSONObject = new JSONObject();
try {
jSONObject.put("app_name", application.getPackageManager().getApplicationLabel(application.getApplicationInfo()).toString());
Drawable applicationIcon = application.getPackageManager().getApplicationIcon(application.getApplicationInfo());
if (applicationIcon == null) {
concat = null;
} else {
Bitmap createBitmap = Bitmap.createBitmap(applicationIcon.getIntrinsicWidth(), applicationIcon.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(createBitmap);
applicationIcon.setBounds(0, 0, canvas.getWidth(), canvas.getHeight());
applicationIcon.draw(canvas);
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
createBitmap.compress(Bitmap.CompressFormat.PNG, 100, byteArrayOutputStream);
concat = "data:image/png;base64,".concat(String.valueOf(Base64.encodeToString(byteArrayOutputStream.toByteArray(), 2)));
}
jSONObject.put("app_icon", concat);
jSONObject.put("stored_infos_map", vVar.f16451h.a());
} catch (JSONException unused) {
}
vVar.f16450g.f16397g.a("UMP_configureFormWithAppAssets", jSONObject.toString());
return;
}
}
}