From dbac8fd52fbe391d0a27b35a803b212ecba8f278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thi=C3=A9baud=20Weksteen?= Date: Wed, 21 Feb 2024 13:46:21 +1100 Subject: [PATCH 1/3] Remove persist.bootanim.color property definitions These now belong to the platform policy. Bug: 321088135 Test: build Change-Id: Iafe8da5e19a43807aed49e1984ef798de396e723 --- system_ext/private/property_contexts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/system_ext/private/property_contexts b/system_ext/private/property_contexts index b8f09520..a8e90427 100644 --- a/system_ext/private/property_contexts +++ b/system_ext/private/property_contexts @@ -1,14 +1,8 @@ # Fingerprint (UDFPS) GHBM/LHBM toggle persist.fingerprint.ghbm u:object_r:fingerprint_ghbm_prop:s0 exact bool -# Boot animation dynamic colors -persist.bootanim.color1 u:object_r:bootanim_system_prop:s0 exact int -persist.bootanim.color2 u:object_r:bootanim_system_prop:s0 exact int -persist.bootanim.color3 u:object_r:bootanim_system_prop:s0 exact int -persist.bootanim.color4 u:object_r:bootanim_system_prop:s0 exact int - # Properties for euicc persist.modem.esim_profiles_exist u:object_r:esim_modem_prop:s0 exact string # Telephony -telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool \ No newline at end of file +telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool From 6f152690d9adcc3dff983b3bc6826bafecbab07a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kosi=C5=84ski?= Date: Fri, 23 Feb 2024 03:00:08 +0000 Subject: [PATCH 2/3] Allow camera to acquire wakelocks. This is already allowed on all other Google chips and used for a face auth latency optimization. Fix: 303391687 Test: check logs on raven Change-Id: I6f70b70d1cf4c055ce9f3e76c1fca0ae0c3e070d --- tracking_denials/hal_camera_default.te | 2 -- whitechapel/vendor/google/hal_camera_default.te | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 tracking_denials/hal_camera_default.te diff --git a/tracking_denials/hal_camera_default.te b/tracking_denials/hal_camera_default.te deleted file mode 100644 index 56a42a37..00000000 --- a/tracking_denials/hal_camera_default.te +++ /dev/null @@ -1,2 +0,0 @@ -#b/303391687 -dontaudit hal_camera_default hal_system_suspend_service:service_manager find ; diff --git a/whitechapel/vendor/google/hal_camera_default.te b/whitechapel/vendor/google/hal_camera_default.te index 8e0a8616..b488860d 100644 --- a/whitechapel/vendor/google/hal_camera_default.te +++ b/whitechapel/vendor/google/hal_camera_default.te @@ -111,3 +111,6 @@ dontaudit hal_camera_default traced_producer_socket:sock_file { write }; # Allow access to always-on compute device node allow hal_camera_default aoc_device:chr_file rw_file_perms; + +# Allow the Camera HAL to acquire wakelocks for buffer pre-allocation purposes +wakelock_use(hal_camera_default) From 303a4dd99b15745c02afb565fa9a630e87a68f45 Mon Sep 17 00:00:00 2001 From: Rubin Xu Date: Fri, 23 Feb 2024 12:12:26 +0000 Subject: [PATCH 3/3] Revert "Remove persist.bootanim.color property definitions" Revert submission 26301396-bootanim_prop Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.corp.google.com/quarterdeck/?branch=git_main&target=sdk_goog3_x86_64-trunk_staging-userdebug&lkgb=11487950&lkbb=11488141&fkbb=11488141 Bug: 326521604 Reverted changes: /q/submissionid:26301396-bootanim_prop Change-Id: Ic931ad1f4f7580cae73355ba3419a7c7422cd580 --- system_ext/private/property_contexts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/system_ext/private/property_contexts b/system_ext/private/property_contexts index a8e90427..b8f09520 100644 --- a/system_ext/private/property_contexts +++ b/system_ext/private/property_contexts @@ -1,8 +1,14 @@ # Fingerprint (UDFPS) GHBM/LHBM toggle persist.fingerprint.ghbm u:object_r:fingerprint_ghbm_prop:s0 exact bool +# Boot animation dynamic colors +persist.bootanim.color1 u:object_r:bootanim_system_prop:s0 exact int +persist.bootanim.color2 u:object_r:bootanim_system_prop:s0 exact int +persist.bootanim.color3 u:object_r:bootanim_system_prop:s0 exact int +persist.bootanim.color4 u:object_r:bootanim_system_prop:s0 exact int + # Properties for euicc persist.modem.esim_profiles_exist u:object_r:esim_modem_prop:s0 exact string # Telephony -telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool +telephony.ril.silent_reset u:object_r:telephony_ril_prop:s0 exact bool \ No newline at end of file