commit | 41f33c3cfd3b1b93a092d8a776e5731989590c33 | [log] [tgz] |
---|---|---|
author | Thales Lima <tsuharesu@google.com> | Tue Aug 24 11:54:03 2021 +0100 |
committer | Thales Lima <tsuharesu@google.com> | Wed Aug 25 11:16:13 2021 +0100 |
tree | 39828e7534b49541ad502f496238cd17cf129b39 | |
parent | a7929aff08b89f68c80ac8ce09324e4d3e560315 [diff] |
workspace: get the correct page when setting paddings When adding a new page to the workspace, mWorkspaceScreens doesn't necessarily keeps the order. We should use the mScreenOrder field to get the correct index of pages. Fixes: 197198491 Test: drag an app from first page and paddings should be correct Change-Id: I4f79c164391348b53b71a87d5d49cfc4d3d35e5a