[2/2][Pro] Set orientation for boot animation and default display rotation.

Change the default display rotation value and boot animation orientation to 270. This is needed to preserve primary landscape UX after device natural orientation changes to portrait.

Context: go/tangor-natural-orientation

Bug: 260627934
Test: manual test with all 4 values
Change-Id: I1ff42f7df21ec8231ff19fd7e209cfbb84537f93
This commit is contained in:
Mariia Sandrikova 2022-12-10 02:37:22 +00:00
parent 32eaab94ec
commit e28a4937ec

View file

@ -150,6 +150,11 @@ PRODUCT_PROPERTY_OVERRIDES += ro.crypto.metadata_init_delete_all_keys.enabled=fa
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.primary_display_orientation=ORIENTATION_0
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.ignore_hwc_physical_display_orientation=true
# Set boot animation orientation and default display rotation to be landscape since Tangor
# natural orientation is portrait. Id at the end corresponds to the display id on the device.
# See b/246793311 for context.
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.bootanim.set_orientation_4619827677550801152=ORIENTATION_270
# Display white balance
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.surface_flinger.display_primary_red=0.5128,0.2413,0.0000 \