commit | 769a14ef34e60b6fd6f7cedf0ac9f2094859a27b | [log] [tgz] |
---|---|---|
author | Steven Ng <stevenckng@google.com> | Mon Apr 19 22:06:38 2021 +0100 |
committer | Steven Ng <stevenckng@google.com> | Mon Apr 19 22:06:38 2021 +0100 |
tree | 17f9039b9702ef3db5c152e61c23ce658de90dc8 | |
parent | bacfccfc7dfcb8de5fcb311af97cad5e11d4aaba [diff] |
Use availableHeightPx to calculate the max height for recommended widgets heightPx doesn't take device orientation and system taskbar into account. Bug: 185508758 Test: Open widgets tray, observe recommended widgets. Rotate the screen and observe recommended widgets. Change-Id: I96f1817f96ba643e54e1d2599225254489091d03