From 895002e48f72d49b3cc877da7440ac19a0e91bbf Mon Sep 17 00:00:00 2001 From: yangyakun Date: Tue, 1 Aug 2023 14:33:39 +0800 Subject: [PATCH] =?UTF-8?q?[bugfix]=20[=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/startautopilot/StartAutopilotView.kt | 3 --- .../taxi/passenger/ui/video/InfoVideoView.kt | 3 +++ .../src/main/res/layout/taxi_p_bottom_bar.xml | 19 +++++++++++++++++-- .../res/layout/taxi_p_mogo_video_layout.xml | 2 +- .../main/res/layout/taxi_p_setting_view.xml | 2 ++ 5 files changed, 23 insertions(+), 6 deletions(-) diff --git a/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/startautopilot/StartAutopilotView.kt b/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/startautopilot/StartAutopilotView.kt index 3f565b80c2..969d1b2568 100644 --- a/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/startautopilot/StartAutopilotView.kt +++ b/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/startautopilot/StartAutopilotView.kt @@ -235,9 +235,6 @@ class StartAutopilotView : WindowRelativeLayout, StartAutopilotViewModel.StartAu starting_autopilot_view_close.onClick { closeAllAnimsAndView() } - v_xiaozhi_belt_info_bg.onClick { - handleStartAutopilotBtnStatus(true) - } taxiPXiaozhiBelt?.start() } diff --git a/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/InfoVideoView.kt b/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/InfoVideoView.kt index a94fe96e70..cb6bcc2ea9 100644 --- a/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/InfoVideoView.kt +++ b/OCH/mogo-och-taxi-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/video/InfoVideoView.kt @@ -96,6 +96,9 @@ internal class InfoVideoView @JvmOverloads constructor( override fun onVisibilityChanged(changedView: View, visibility: Int) { super.onVisibilityChanged(changedView, visibility) + if(changedView!=this){ + return + } val carouselLayoutManager = rvVideoPlaylist?.layoutManager as CarouselLayoutManager val (centerItemPosition: Int, player) = getPlayer(carouselLayoutManager) when (visibility) { diff --git a/OCH/mogo-och-taxi-passenger/src/main/res/layout/taxi_p_bottom_bar.xml b/OCH/mogo-och-taxi-passenger/src/main/res/layout/taxi_p_bottom_bar.xml index 160833677c..db389e16c1 100644 --- a/OCH/mogo-och-taxi-passenger/src/main/res/layout/taxi_p_bottom_bar.xml +++ b/OCH/mogo-och-taxi-passenger/src/main/res/layout/taxi_p_bottom_bar.xml @@ -10,8 +10,8 @@ + +