commit | 0047d16dd2972dc73059423dc3b245ca4a2d05a5 | [log] [tgz] |
---|---|---|
author | Christian Göllner <chrisgollner@google.com> | Wed Jan 19 14:11:20 2022 +0100 |
committer | Christian Göllner <chrisgollner@google.com> | Tue Jan 25 10:53:59 2022 +0100 |
tree | fd9844798fde263ab183fdf07b1428554c6e7fde | |
parent | 8563424438165c0b071018da2ff705b6347c0338 [diff] |
Reset "allowAllRotations" when the physical display changed. Previously the config resource was read once and cached forever. There are different config resource values based on the screen dimensions, therefore we need to make sure that the value is reset when displays change. Test: DisplayRotationTests, DisplayWindowSettingsTest + Manually on device Bug: 203814571 Change-Id: I116d9922342ea4f1ca5858873a1d38c4c5d52161