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

* changes:
  [1/2][Pro] Set orientation for boot animation and default display rotation.
  [5/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 ca9998daef
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,6 @@
# TODO(b/246793311): Clean up a temporary property once pa/2342172 lands
debug.sf.ignore_hwc_physical_display_orientation u:object_r:surfaceflinger_prop:s0 exact bool
# Default orienation for boot animation counted from natural orienation of the device
# Id at the end corresponds to the display id on the device. See b/246793311 for context.
ro.bootanim.set_orientation_4619827677550801152 u:object_r:surfaceflinger_prop:s0 exact enum ORIENTATION_0 ORIENTATION_90 ORIENTATION_180 ORIENTATION_270

View file

@ -9,3 +9,6 @@ BOARD_SEPOLICY_DIRS += device/google/tangorpro-sepolicy/fingerprint_capacitance
PRODUCT_PUBLIC_SEPOLICY_DIRS += device/google/atv/audio_proxy/sepolicy/public
BOARD_VENDOR_SEPOLICY_DIRS += device/google/atv/audio_proxy/sepolicy/vendor
PRODUCT_PRIVATE_SEPOLICY_DIRS += vendor/google/gms/src/sepolicy/tv
# system_ext
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/google/tangorpro-sepolicy/system_ext/private