WAM: split surface_role to surface_type and surface_role

Description

Right now, we have a field in appinfo.json named surface_role. This is wrong, and it is not matching the actual types in agl-shell and agl-shell-desktop (that we do not implement anyway).

Move to have two different types:

  • surface_role matching agl-shell-desktop protocol values. Doing nothing at least for now as we do not implement agl-shell-desktop.

  • surface_type with just three values: none, background and panel (that behaves as current surface_role value).

For implementing backwards compatibility, we can leave surface_role as is, and eventually ignore it, and define new fields agl_surface_type and agl_surface_role (and rename panel_type to agl_panel_type).

Environment

None

Activity

Show:

Walt Miner 
December 16, 2022 at 2:46 PM

Close for OO M1/M2

José Dapena Paz 
September 6, 2022 at 6:01 PM

Finally recipe for integrating all the pieces. https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/27975

José Dapena Paz 
September 5, 2022 at 10:25 AM

< Could you land html5-homescreen patch, so I can send a meta-agl-demo update to finally land this and close the ticket?

José Dapena Paz 
July 29, 2022 at 5:03 PM
(edited)

We did not support the concept of surface role at all. Also, so far it was only WAM using those fields. So I will not provide a compatibility path, but just rename the field surface_role or surface/role to surface_type or surface/type.

In the future we will have to check if we want to support surface roles.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Components

Priority

Created July 29, 2022 at 7:39 AM
Updated December 16, 2022 at 2:46 PM
Resolved September 7, 2022 at 10:26 AM