commit | dfd8bfc7e0540a4f166e07e46b8cdd7d9cac44b1 | [log] [tgz] |
---|---|---|
author | Sihua Ma <sihua@google.com> | Tue Jul 12 13:19:41 2022 -0700 |
committer | Sihua Ma <sihua@google.com> | Thu Jul 14 20:17:19 2022 +0000 |
tree | cea6ce1923f2c5950a91ca032fa317ca7576b05b | |
parent | 8b3fda7eb89756d232a7140db1392769f884b793 [diff] |
Added functions to pass launcher widget span info to preview To calculate the widget scales correctly for the launcher preview in different grids, the span info of the widgets in the launcher is necessary. Querying the launcher widget info in the database and passing it to the preview render. Test: Verified that no exceptions were happening when changing preview grid layouts Bug: 228328759 Change-Id: I681d21b176c8fe5208431a79009d9ba8279cda6a