Commit graph

2 commits

Author SHA1 Message Date
Mariia Sandrikova
32eaab94ec [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
2022-12-07 20:01:12 +00:00
Super Liu
05dbf737a7 Add touchscreen and stylus input configuration file.
Flip 270 degrees by design.

Bug: 231385413
Test: TreeHugger build pass.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ie43c354cf284d2e14ba47be24073a167e15d4229
2022-05-23 10:56:24 +08:00