commit | 6bed350b75ad407ba85ae15d62551194dd0a69d4 | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Tue Sep 19 14:43:17 2017 -0700 |
committer | Jon Miranda <jonmiranda@google.com> | Tue Sep 19 14:43:17 2017 -0700 |
tree | 363c2c2169a60199342422f1848bab283c41c2d0 | |
parent | d926a9316f61a7540b00ecd42acba8013e715f92 [diff] |
Fix bug where widgets are inflated in the wrong orientation. The bug is that in onResume, the context may tell us the wrong orientation. As a workaround, we store the orientation that the Launcher is created with, and we use that orientation to check whether we actually need to reinflate the widgets. Bug: 64916689 Change-Id: I5194debbd217a573d1f177c31d8c0abdf9da51b5