sm7250-common: Migrate vendor.camera.aux.packagelist to sdk overlay

Change-Id: Iee884cc98b5fada492b27e8085de98ae08406cf4
This commit is contained in:
LuK1337 2022-11-02 13:16:05 +01:00 committed by mikairyuu
parent aa871f2fdd
commit a989c5dda4
2 changed files with 10 additions and 4 deletions

View File

@ -339,4 +339,14 @@
<string name="config_SmartChargingSysfsNode" translatable="false">/sys/class/power_supply/battery/input_suspend</string>
<string name="config_SmartChargingSuspendValue" translatable="false">1</string>
<string name="config_SmartChargingResumeValue" translatable="false">0</string>
<!-- The list of package IDs that are allowed to use aux cameras.
NOTE: If this list is empty then all apps will be able to use aux cameras. -->
<string-array name="config_cameraAuxPackageAllowList" translatable="false">
<item>com.google.android.apps.cameralite</item>
<item>com.android.camera</item>
<item>org.codeaurora.snapcam</item>
<item>org.lineageos.aperture</item>
<item>org.pixelexperience.faceunlock</item>
</string-array>
</resources>

View File

@ -164,10 +164,6 @@ bluetooth.profile.pan.panu.enabled=true \
bluetooth.profile.pbap.server.enabled=true \
bluetooth.profile.sap.server.enabled=true
# Camera
PRODUCT_VENDOR_PROPERTIES += \
vendor.camera.aux.packagelist=com.android.camera,org.lineageos.aperture,org.pixelexperience.faceunlock
PRODUCT_SYSTEM_PROPERTIES += \
camera.disable_zsl_mode=true \
persist.vendor.camera.perflock.enable=0