Call Recorder v6.34.2版本的 MD5 值为:298659ce317c966b10d9947b76831521
以下内容为反编译后的 h.java 源代码,内容仅作参考
package n6;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import java.nio.ByteBuffer;
import org.apache.http.client.methods.HttpPost;
import org.mozilla.geckoview.GeckoResult;
import org.mozilla.geckoview.GeckoWebExecutor;
import org.mozilla.geckoview.WebRequest;
public class h extends j {
private GeckoWebExecutor f25005k;
private Handler f25006m;
public h(Context context, l6.f fVar, d dVar, GeckoWebExecutor geckoWebExecutor) {
super(context, fVar, dVar);
this.f25006m = new Handler(Looper.getMainLooper());
this.f25005k = geckoWebExecutor;
}
public void g(WebRequest webRequest) {
this.f25005k.fetch(webRequest).then(new GeckoResult.OnValueListener() {
}).exceptionally(new GeckoResult.OnExceptionListener() {
});
}
@Override
public void c() {
this.f24999c.c();
byte[] byteArray = this.f25015h.toByteArray();
ByteBuffer allocateDirect = ByteBuffer.allocateDirect(byteArray.length);
allocateDirect.put(byteArray);
final WebRequest build = new WebRequest.Builder("https://speaktome-2.services.mozilla.com/").body(allocateDirect).method(HttpPost.METHOD_NAME).addHeader("Accept-Language-STT", this.f24998b.a()).addHeader("Store-Transcription", this.f24998b.e() ? "1" : "0").addHeader("Store-Sample", this.f24998b.d() ? "1" : "0").addHeader("Product-Tag", this.f24998b.c()).addHeader("Content-Type", "audio/3gpp").build();
this.f25006m.post(new Runnable() {
@Override
public final void run() {
h.this.g(build);
}
});
}
}