[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
This commit is contained in:
Mariia Sandrikova 2022-12-10 02:49:39 +00:00
parent 965a3fb846
commit 11808aa59b

View file

@ -1,2 +1,6 @@
# TODO(b/246793311): Clean up a temporary property once pa/2342172 lands
debug.sf.ignore_hwc_physical_display_orientation u:object_r:surfaceflinger_prop:s0 exact bool
# Default orienation for boot animation counted from natural orienation of the device
# Id at the end corresponds to the display id on the device. See b/246793311 for context.
ro.bootanim.set_orientation_4619827677550801152 u:object_r:surfaceflinger_prop:s0 exact enum ORIENTATION_0 ORIENTATION_90 ORIENTATION_180 ORIENTATION_270