aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi
diff options
context:
space:
mode:
authorHarunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>2017-12-07 21:12:15 +0900
committerHarunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>2017-12-08 01:35:06 +0000
commit41949b6a45620544d81810a293dbe67d4b2df702 (patch)
treeff471c371c3d92f0b9fab8be93aaef58e5625be1 /recipes-demo-hmi
parent9438be0e6e64fdaed9d65b21a227c25efda82946 (diff)
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 <harunobu.kurokawa.dn@renesas.com>
Diffstat (limited to 'recipes-demo-hmi')
-rwxr-xr-xrecipes-demo-hmi/navigation/mapviewer/mapviewer-settings.sh2
-rw-r--r--recipes-demo-hmi/navigation/mapviewer/mapviewer.service6
2 files changed, 4 insertions, 4 deletions
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