From 16f00769227584e2e5e1b6654460a526704a92ab Mon Sep 17 00:00:00 2001 From: zhongchao Date: Tue, 22 Nov 2022 11:41:51 +0800 Subject: [PATCH] [2.13.0][jira-YHJSYHZNWL-1667] fix bug of blue tooth register problem --- .../eagle/core/function/main/MainLauncherActivity.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/main/MainLauncherActivity.java b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/main/MainLauncherActivity.java index 17fb55406f..901047a8d8 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/main/MainLauncherActivity.java +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/main/MainLauncherActivity.java @@ -198,6 +198,7 @@ public class MainLauncherActivity extends MainActivity implements IMogoIntentLis // 移除换肤监听 CallerSkinModeListenerManager.INSTANCE.removeListener(TAG); EventBus.getDefault().unregister(this); + unregisterReceiver(this.mBluetoothReceiver); } private void stopCountDown() { @@ -327,12 +328,6 @@ public class MainLauncherActivity extends MainActivity implements IMogoIntentLis return super.dispatchKeyEvent(event); } - @Override - public boolean dispatchTouchEvent(MotionEvent event) { - - return super.dispatchTouchEvent(event); - } - @Override public void onSkinModeChange(int skinMode) {