From ffd9dff181a460767cde7edaf0ef9cf5f496fa48 Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Tue, 5 Nov 2019 15:20:11 -0800 Subject: 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 --- proto/src/task_snapshot.proto | 1 + 1 file changed, 1 insertion(+) (limited to 'proto') 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; } -- cgit v1.2.3