From 41949b6a45620544d81810a293dbe67d4b2df702 Mon Sep 17 00:00:00 2001 From: Harunobu Kurokawa Date: Thu, 7 Dec 2017 21:12:15 +0900 Subject: mapviewer: Change layer id to 11001 to avoid conflict. While the hmi-framework doesn't support multi-display, mapviewer is located in screen 1 in order to transfer to Cluster ECU. Then a layer which mapviewr uses is out of control by windowmanager. As layer id 1000 is conflict, so we decide new layer id as 11001 for Screen 1. Change-Id: I52b6071e91adb69cfa8ab65c6ea6604b3fef8be1 Signed-off-by: Harunobu Kurokawa --- recipes-demo-hmi/navigation/mapviewer/mapviewer-settings.sh | 2 +- recipes-demo-hmi/navigation/mapviewer/mapviewer.service | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes-demo-hmi') diff --git a/recipes-demo-hmi/navigation/mapviewer/mapviewer-settings.sh b/recipes-demo-hmi/navigation/mapviewer/mapviewer-settings.sh index d1ebb20b8..0d7bf205b 100755 --- a/recipes-demo-hmi/navigation/mapviewer/mapviewer-settings.sh +++ b/recipes-demo-hmi/navigation/mapviewer/mapviewer-settings.sh @@ -15,7 +15,7 @@ do $LMC set surface $SURFACEID source region 0 0 384 368 $LMC set surface $SURFACEID destination region 0 0 384 368 $LMC set surface $SURFACEID visibility 1 - $LMC set layer 1000 render order $SURFACEID + $LMC set layer 11001 render order $SURFACEID exit fi fi diff --git a/recipes-demo-hmi/navigation/mapviewer/mapviewer.service b/recipes-demo-hmi/navigation/mapviewer/mapviewer.service index c3f5515af..b701204db 100644 --- a/recipes-demo-hmi/navigation/mapviewer/mapviewer.service +++ b/recipes-demo-hmi/navigation/mapviewer/mapviewer.service @@ -10,9 +10,9 @@ After=weston.service HomeScreen.service Environment=NAVI_DATA_DIR=/var/mapdata/navi_data_UK/japan_TR9 XDG_RUNTIME_DIR=/run/user/0 ExecStartPre=/bin/sleep 5 ExecStart=/usr/bin/mapview -ExecStartPost=/usr/bin/LayerManagerControl create layer 1000 1920 1080 -ExecStartPost=/usr/bin/LayerManagerControl set layer 1000 visibility 1 -ExecStartPost=/usr/bin/LayerManagerControl set screen 1 render order 1000 +ExecStartPost=/usr/bin/LayerManagerControl create layer 11001 1920 1080 +ExecStartPost=/usr/bin/LayerManagerControl set layer 11001 visibility 1 +ExecStartPost=/usr/bin/LayerManagerControl set screen 1 render order 11001 ExecStartPost=/usr/AGL/mapviewer/mapviewer-settings.sh ExecStop=/usr/bin/killall -s KILL mapview -- cgit 1.2.3-korg