aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-01-21 14:35:31 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-01-21 14:35:31 +0900
commit9d9161481959632b0591420a15558f4fcf465660 (patch)
tree161e3ee86ca3353bcf98924da2b72d47153db022
parenta33cbe3e083318a4f48d44a645ee24447536e3a6 (diff)
try to use split layoutsandbox/zheng_wenlong/split
-rw-r--r--conf/layers.json4
-rw-r--r--policy_manager/CMakeLists.txt6
-rw-r--r--policy_manager/db/roles.db.zipc.split2
3 files changed, 6 insertions, 6 deletions
diff --git a/conf/layers.json b/conf/layers.json
index 539846a..c567e5d 100644
--- a/conf/layers.json
+++ b/conf/layers.json
@@ -3,7 +3,7 @@
"mappings": [
{
"name": "BackGroundLayer",
- "role" : "navigation|radio|music|video",
+ "role" : "Navigation|radio|music|video",
"id_range_begin": 0,
"id_range_end": 0,
"comment": "Work Around: This is a special fallback layer that not stopping wayland event loop."
@@ -17,7 +17,7 @@
},
{
"name": "Apps",
- "role": "music|video|browser|radio|phone|navigation|map|hvac|settings|dashboard|poi|mixer|sdl|launcher|fallback",
+ "role": "music|video|browser|radio|phone|Navigation|map|hvac|settings|dashboard|poi|mixer|sdl|launcher|fallback",
"id_range_begin": 1000,
"id_range_end": 2999,
"comment": "Application layer"
diff --git a/policy_manager/CMakeLists.txt b/policy_manager/CMakeLists.txt
index 3ec4c39..0d2d523 100644
--- a/policy_manager/CMakeLists.txt
+++ b/policy_manager/CMakeLists.txt
@@ -19,13 +19,13 @@ pkg_check_modules(AFB REQUIRED afb-daemon)
pkg_check_modules(SD REQUIRED libsystemd>=222)
# Set name of STM
-set(STM_DIR stub)
-#set(STM_DIR zipc)
+#set(STM_DIR stub)
+set(STM_DIR zipc)
# Select roles.db
if(zipc MATCHES ${STM_DIR})
# if trying to show split layout, change from OFF to ON
- set(TRY_SPLIT_LAYOUT OFF CACHE BOOL "Enable to show split layout")
+ set(TRY_SPLIT_LAYOUT ON CACHE BOOL "Enable to show split layout")
if(${TRY_SPLIT_LAYOUT})
set(ROLES_DB_NAME roles.db.zipc.split)
diff --git a/policy_manager/db/roles.db.zipc.split b/policy_manager/db/roles.db.zipc.split
index cef2631..7a581d6 100644
--- a/policy_manager/db/roles.db.zipc.split
+++ b/policy_manager/db/roles.db.zipc.split
@@ -8,7 +8,7 @@
},
{
"category": "map",
- "role": "navigation",
+ "role": "Navigation",
"area": "normal.full | split.main",
"layer": "apps",
},