Merge changes from topic "tangor-pro-natural-orientation" into tm-qpr-dev

* changes:
  [2/2][Pro] Set orientation for boot animation and default display rotation.
  [1/n][Pro] Change natural device orientation to portrait.
This commit is contained in:
Mariia Sandrikova 2022-12-21 00:37:13 +00:00 committed by Android (Google) Code Review
commit 7d15e2f698
3 changed files with 11 additions and 2 deletions

View file

@ -1,2 +1,2 @@
touch.orientationAware = 1
touch.orientation = ORIENTATION_270
touch.orientation = ORIENTATION_0

View file

@ -1 +1 @@
touch.orientation = ORIENTATION_270
touch.orientation = ORIENTATION_0

View file

@ -146,6 +146,15 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Set ro.crypto.metadata_init_delete_all_keys.enabled to false to unblock boot
PRODUCT_PROPERTY_OVERRIDES += ro.crypto.metadata_init_delete_all_keys.enabled=false
# Temporary override to synchronise changes in pa/ and ag/. See b/246793311 for context.
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 \