Fix setRole
[apps/agl-service-windowmanager.git] / layers.json
1 {
2    "comment": "Surface ID to Layer ID mapping",
3
4    "main_surface": {
5       "surface_role": "HomeScreen",
6       "comment": "This surface should never be made invisible (The HomeScreen)"
7    },
8
9    "mappings": [
10       {
11          "role": "BackGroundLayer",
12          "name": "BackGroundLayer",
13          "layer_id": 999,
14          "comment": "Single BackGround layer map for the map, radio, music and video"
15       },
16       {
17          "role": "homescreen",
18          "name": "FarHomeScreen",
19          "layer_id": 1000,
20          "comment": "FarHomeScreen is the part of HomeScreen. The z order of this layer is lower than NearHomeScreen"
21       },
22       {
23          "role": "music|video|browser|radio|phone|map|hvac|settings|dashboard|poi|mixer|sdl|launcher|fallback",
24          "name": "Apps",
25          "layer_id": 1001,
26          "comment": "Range of IDs that will always be placed on layer 1001"
27       },
28       {
29         "role": "software_keyboard",
30         "name": "NearHomeScreen",
31         "layer_id": 1002,
32         "comment": "NearHomeScreen is the part of HomeScreen. The z order of this layer is upper than FarHomeScreen"
33       },
34       {
35         "role": "restriction",
36         "name": "Restriction",
37         "layer_id": 1003,
38         "comment": "This layer is for restriction notification. This is used by restriction role"
39       },
40       {
41          "role": "^on_screen.*",
42          "name": "OnScreen",
43          "layer_id": 9999,
44          "comment": "Range of IDs that will always be placed on the OnScreen layer, that gets a very high 'dummy' id of 9999"
45       }
46    ]
47 }