commit | e40ee51d3766b5b1fb484fd5652f3e2a377d3afe | [log] [tgz] |
---|---|---|
author | Chris Li <lihongyu@google.com> | Tue Nov 30 17:28:28 2021 +0800 |
committer | Chris Li <lihongyu@google.com> | Tue Nov 30 17:39:00 2021 +0800 |
tree | 0fb16e4d1df5091af58c0c07b9c5bb1476c1f968 | |
parent | f1650d861b81d449b689985199961e652a2fc657 [diff] |
Use the current dimensions instead of relying on onConfigurationChanged There are some cases when the View will not receive onConfigurationChanged event (such as DialogFragment). Always use the current dimensions instead. Fix: 205251075 Test: test with Settings app Change-Id: If626fe597c02efcb480c05ca88cffbfae1b21a89