android: service: platform_service: Read rotation angle from parcel
When passing window state, currently only the frame location and stack & task IDs are contained in the parcel. This patch also receives the new 'rotation_angle' attribute. This patch is critical since it ensures each '4 Byte' value in this strongly ordered sequence is extracted at the right time, in the correct way. Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
e05ca245d9
commit
6d50d44083
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ anbox::PlatformApiStub::WindowStateUpdate::Window PlatformService::unpack_window
|
||||||
auto frame_bottom = data.readInt32();
|
auto frame_bottom = data.readInt32();
|
||||||
auto task_id = data.readInt32();
|
auto task_id = data.readInt32();
|
||||||
auto stack_id = data.readInt32();
|
auto stack_id = data.readInt32();
|
||||||
|
auto rotation_angle = data.readInt32();
|
||||||
|
|
||||||
return anbox::PlatformApiStub::WindowStateUpdate::Window{
|
return anbox::PlatformApiStub::WindowStateUpdate::Window{
|
||||||
-1, // Display id will be added by the caller
|
-1, // Display id will be added by the caller
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue