[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:
Mariia Sandrikova 2022-12-03 03:00:51 +00:00
parent 30cac33ee4
commit 32eaab94ec
3 changed files with 6 additions and 2 deletions

View file

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