[1/n][Pro] Change natural device orientation to portrait.
This change is needed to ensure compatibility of Camera apps that rely on natural orientation being aligned with portrait camera orientation. 0 degrees is selected over 180 to have the back camera at the top of the device when portrait-only apps are force rotated into specific orientation for compatibility. Also, temporary override ro.surface_flinger.primary_display_orientation to use it instead the value from HWC API 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 Bug: 246793311 Test: manual QA for top apps and manual exploratory testing for overall device experience Change-Id: I67f9cb522f4478c83ac6bbc18da2eaf4ee0dd686
This commit is contained in:
parent
30cac33ee4
commit
32eaab94ec
3 changed files with 6 additions and 2 deletions
|
@ -146,6 +146,10 @@ 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
|
||||
|
||||
# Display white balance
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||
ro.surface_flinger.display_primary_red=0.5128,0.2413,0.0000 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue