正在查看: Petal Maps v4.7.0.310001 应用的 MapControlService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Petal Maps v4.7.0.310001 应用的 MapControlService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.huawei.maps.voice.ipc;
import android.content.Intent;
import android.os.Handler;
import android.os.IBinder;
import android.os.Looper;
import android.os.Message;
import android.os.Messenger;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.huawei.maps.voice.model.IpcConstant;
import com.huawei.secure.android.common.activity.SafeService;
import com.huawei.secure.android.common.intent.SafeBundle;
import defpackage.jc5;
public class MapControlService extends SafeService {
public Messenger b = new Messenger(new a(Looper.getMainLooper()));
public class a extends Handler {
public a(Looper looper) {
super(looper);
}
@Override
public void handleMessage(@NonNull Message message) {
if (message.what != 272) {
return;
}
Messenger messenger = message.replyTo;
if (messenger != null) {
jc5.b().q(messenger, IpcConstant.VOICE_BIND_MAP_TYPE);
}
hm4.p("MapControlService", "voice_assistant_log handleMessage");
String string = new SafeBundle(message.getData()).getString("data");
hm4.p("MapControlService", "voice_assistant_log handleMessage + " + string);
jc5.b().e(string);
}
}
@Override
@Nullable
public IBinder onBind(Intent intent) {
jc5.b().t(true);
return this.b.getBinder();
}
}