diff options
author | Vinit Nayak <peanutbutter@google.com> | 2019-11-05 15:20:11 -0800 |
---|---|---|
committer | Vinit Nayak <peanutbutter@google.com> | 2020-01-23 15:12:32 -0800 |
commit | ffd9dff181a460767cde7edaf0ef9cf5f496fa48 (patch) | |
tree | 4a030043fe0dcc536de9bd0b72937144be5db89e /proto | |
parent | c8e17b66f313fd2777876b20a09f61f0c7fa0f79 (diff) |
Add rotation field to ThumbnailData for task snapshots
Add the rotation a task was in when its snapshot
is taken. This is used by launcher to know which
way to orient the bitmap when performing quickswitch
fixes: 143892437
Test: Test: With launcher in portrait
* Thumbnail in reverse portrait,
landscape, seascape, normal
With launcher in landscape
* Thumbnail in seascape, normal,
reverse portrait, landscape
With launcher in seascape
* Thumbnail in seascape, normal,
reverse portrait, landscape
Change-Id: Iaf32341d0db1fc023c29676e0d365eee03b98959
Diffstat (limited to 'proto')
-rw-r--r-- | proto/src/task_snapshot.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/src/task_snapshot.proto b/proto/src/task_snapshot.proto index 821db860dd96..789019ce8b75 100644 --- a/proto/src/task_snapshot.proto +++ b/proto/src/task_snapshot.proto @@ -34,4 +34,5 @@ string top_activity_component = 10; float scale = 11; int64 id = 12; + int32 rotation = 13; } |