From 047517a6e0f72780e234555f1a4929c39d7cb617 Mon Sep 17 00:00:00 2001 From: Gil Date: Sun, 7 Aug 2022 15:34:30 +0800 Subject: [PATCH 1/4] display: Set ro.surface_flinger.ignore_hdr_camera_layers Bug: 238262449 Test: check the getprop log Change-Id: I059fd82b858b3020036a7159668ff48c6277b07c Signed-off-by: Gil --- device-felix.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/device-felix.mk b/device-felix.mk index c5fab12..167a9ea 100644 --- a/device-felix.mk +++ b/device-felix.mk @@ -64,10 +64,11 @@ PRODUCT_COPY_FILES += \ device/google/felix/felix/display_golden_cal0.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_cal0.pb \ device/google/felix/felix/display_golden_cal1.pb:$(TARGET_COPY_OUT_VENDOR)/etc/display_golden_cal1.pb -# Display LBE +# Display PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ vendor.display.lbe.supported=1 \ - vendor.display.async_off.supported=true + vendor.display.async_off.supported=true \ + ro.surface_flinger.ignore_hdr_camera_layers=true #config of display brightness dimming PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.brightness.dimming.usage=1 From 0cfb27ef87b5d804a64a91cb19fe37421f23eedf Mon Sep 17 00:00:00 2001 From: MingChe Chiang Date: Tue, 30 Aug 2022 03:59:39 +0800 Subject: [PATCH 2/4] Obsecure camera EXIF information for AOSP camera. Bug: 242039712 Test: AOSP camera snapshot Change-Id: I0b79919d748b33fcb684eec6e826cbfa7a648f0d --- device-felix.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-felix.mk b/device-felix.mk index 5b3d6ee..808f801 100644 --- a/device-felix.mk +++ b/device-felix.mk @@ -250,3 +250,7 @@ PRODUCT_COPY_FILES += \ # Enable adpf cpu hint session for SurfaceFlinger PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ debug.sf.enable_adpf_cpu_hint=true + +# Control camera exif model/make redaction +PRODUCT_PROPERTY_OVERRIDES += \ + persist.camera.redact_exif=1 From 3f58156018bcb7f99334ec4ceffbde3823957750 Mon Sep 17 00:00:00 2001 From: Gil Date: Thu, 11 Aug 2022 20:00:27 +0800 Subject: [PATCH 3/4] Config: Update display config file 1. Auto Brightness debounce 2. ambient threshold setting 3. Auto Brightness table Bug: 234326197 Bug: 234327304 Test: adb shell dumpsys display Change-Id: I387dae5c5c8a554ccdeb799462e5553089c257dd --- .../base/core/res/res/values/config.xml | 143 +++++++++++++++--- 1 file changed, 119 insertions(+), 24 deletions(-) diff --git a/felix/overlay/frameworks/base/core/res/res/values/config.xml b/felix/overlay/frameworks/base/core/res/res/values/config.xml index c10d1cd..83fd4e8 100644 --- a/felix/overlay/frameworks/base/core/res/res/values/config.xml +++ b/felix/overlay/frameworks/base/core/res/res/values/config.xml @@ -115,6 +115,7 @@ 4 8 12 + 15 20 33 55 @@ -125,9 +126,11 @@ 665 1097 1808 - 2981 - 5000 + 3000 + 6000 + 9000 10000 + 14000 20000 @@ -145,27 +148,30 @@ array. The brightness values must be non-negative and non-decreasing. This must be overridden in platform specific overlays --> - 5.139055 - 9.962018965 - 18.34822964 - 21.55068128 - 24.0167788 - 30.62162162 - 35.09486396 - 41.2249643 - 47.6760716 - 55.73002427 - 66.24126116 - 79.67614115 - 98.04727274 - 125.1221991 - 161.6875093 - 208.4885553 - 264.8221315 - 327.8974352 - 401.1676739 - 750.0 - 900.0 + 5.139055 + 9.962018965 + 18.34822964 + 21.55068128 + 24.0167788 + 32.5 + 46 + 53.26923077 + 54.61538462 + 58.11538462 + 62.1394 + 67.13133333 + 79.67614115 + 98.04727274 + 125.1221991 + 161.6875093 + 208.4885553 + 264.8221315 + 328.5869521 + 627.4315413 + 826.8584866 + 867.0494638 + 901.4496943 + 1100.0 - 2000 + 1000 4000 @@ -259,4 +265,93 @@ true + + + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 200 + 300 + 400 + 500 + 1000 + 2000 + 3000 + 4000 + + + + 5186 + 4333 + 3666 + 2999 + 2759 + 2519 + 2279 + 2039 + 1799 + 799 + 527 + 499 + 470 + 517 + 565 + 612 + 660 + 708 + 742 + 636 + 582 + 549 + 369 + 294 + 269 + 220 + 220 + + + + 525 + 683 + 666 + 650 + 640 + 630 + 620 + 610 + 600 + 500 + 500 + 440 + 385 + 382 + 379 + 376 + 373 + 371 + 367 + 387 + 397 + 403 + 380 + 345 + 333 + 283 + 283 + From 9ef3632eff3642a9584ba07202314f9e695fd7fb Mon Sep 17 00:00:00 2001 From: Shanmuga Pandi M Date: Wed, 24 Aug 2022 03:03:49 +0000 Subject: [PATCH 4/4] [F10] Camera: Enable the product properties. 1. Raise buffer allocation priority 2. Extended cpu boost Bug: 243607128 Test: GCA Change-Id: Icc70f68c7af81196a0fb531d8699270fb8c6afc7 --- device-felix.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device-felix.mk b/device-felix.mk index c374f1a..1a3b399 100644 --- a/device-felix.mk +++ b/device-felix.mk @@ -255,3 +255,8 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ # Control camera exif model/make redaction PRODUCT_PROPERTY_OVERRIDES += \ persist.camera.redact_exif=1 + +# Camera +PRODUCT_PROPERTY_OVERRIDES += \ + persist.vendor.camera.extended_launch_boost=1 \ + persist.vendor.camera.raise_buf_allocation_priority=1