Commit graph

2 commits

Author SHA1 Message Date
Mariia Sandrikova
11808aa59b [1/2][Pro] Set orientation for boot animation and default display rotation.
Introduce ro.bootanim.set_orientation_<display_id> sysprop that allows to change the default display rotation value and boot animation orientation to be different from the natural display orientation

Context: go/tangor-natural-orientation

Bug: 260627934
Test: manual test with all 4 values
Change-Id: I14461e143c37440c4a655a1b175add86b60233b2
2022-12-11 13:55:43 +00:00
Mariia Sandrikova
965a3fb846 [5/n][Pro] Change natural device orientation to portrait.
Introduce debug.sf.ignore_hwc_physical_display_orientation to allow ignoring physical orientation provided through hwc API in favour of 'ro.surface_flinger.primary_display_orientation' to avoid breaking the build even for a short period of time since there is no direct way to synchronize landing of this CLs chain with pa/2342172

Test: manual
Bug: 246793311
Change-Id: Iffbdc13149f517f0b59b313f1fe1f7900cc8597e
2022-12-07 20:10:00 +00:00