summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariia Sandrikova <mariiasand@google.com>2022-12-07 01:28:47 +0000
committerMariia Sandrikova <mariiasand@google.com>2022-12-07 20:10:00 +0000
commit965a3fb846e1757010a9c62cb88d8ff52329c358 (patch)
tree6494243e5019bd1c6f79ea739fb046bb2db79bab
parent0fe5303cf599602015fdbeaa5b773265b81c3992 (diff)
downloadtangorpro-sepolicy-965a3fb846e1757010a9c62cb88d8ff52329c358.tar.gz
[5/n][Pro] Change natural device orientation to portrait.
Introduce debug.sf.ignore_hwc_physical_display_orientation to allow ignoring physical orientation provided through hwc API in favour of 'ro.surface_flinger.primary_display_orientation' 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 Test: manual Bug: 246793311 Change-Id: Iffbdc13149f517f0b59b313f1fe1f7900cc8597e
-rw-r--r--system_ext/private/property_contexts2
-rw-r--r--tangorpro-sepolicy.mk3
2 files changed, 5 insertions, 0 deletions
diff --git a/system_ext/private/property_contexts b/system_ext/private/property_contexts
new file mode 100644
index 0000000..44ac29f
--- /dev/null
+++ b/system_ext/private/property_contexts
@@ -0,0 +1,2 @@
+# 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 \ No newline at end of file
diff --git a/tangorpro-sepolicy.mk b/tangorpro-sepolicy.mk
index ddb98de..f16f331 100644
--- a/tangorpro-sepolicy.mk
+++ b/tangorpro-sepolicy.mk
@@ -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