diff options
| author | Nick Chameyev <nickchameyev@google.com> | 2022-01-13 13:11:33 +0000 |
|---|---|---|
| committer | Nick Chameyev <nickchameyev@google.com> | 2022-01-13 15:12:37 +0000 |
| commit | 876e779427eeeb906368d489579e8c0d53293bce (patch) | |
| tree | 2d53be1e64a9a82b50571a4874bc9775e55fa1ab /core/java/android/widget/TextView.java | |
| parent | b082666f0bc0326d3ef18716aa2f67a7ac631f4b (diff) | |
Load rotation settings when creating a display
In ag/16433357 applyRotationSettingsToDisplayLocked
was extracted from applySettingsToDisplayLocked method.
This was done to load rotation settings only after updating
the display size.
After separating this method we didn't call the second method
in all places where we called the original one.
Added a flag that controls loading rotation settings
which is 'true' by default to fix loading of these
settings on the first boot.
Fixes: 212200866
Test: atest WmTests:DisplayWindowSettingsTests
Test: open portrait only app on a display with
'ignore orientation request = true' after booting
Change-Id: Id248393dc389b54c140a83d3a0bb93fef1a200ed
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions
