Fixing insets not getting applied to workspace

Bug: 153516511
Change-Id: I7512849efd91d4aa2b9da6aba0602c65422c606d
(cherry picked from commit 5626583228)
This commit is contained in:
Sunny Goyal
2020-04-06 18:20:51 -07:00
parent f24c614ad2
commit 2ab57b665d
+1
View File
@@ -282,6 +282,7 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
Rect padding = grid.workspacePadding;
setPadding(padding.left, padding.top, padding.right, padding.bottom);
mInsets.set(insets);
if (mWorkspaceFadeInAdjacentScreens) {
// In landscape mode the page spacing is set to the default.