Disable Android camera flash and autofocus on Tablet products

Adding the FLAG to copy the rule by conditions.
- Set for a non auto-focus camera:  android.hardware.camera.xml
- Not set for an auto-focus camera: android.hardware.camera.flash-autofocus.xml

Bug: 239142680
Test: adb shell pm list features
Change-Id: I96ec2be4e2fb0510e2fa98fe00225ae3a82474ed
This commit is contained in:
Roger Liao 2022-07-15 15:38:43 +08:00
parent 8ca2c97fd4
commit e735068f58

View file

@ -29,6 +29,10 @@ DEVICE_PACKAGE_OVERLAYS += device/google/tangorpro/tangorpro/overlay
PRODUCT_SOONG_NAMESPACES += device/google/tangorpro
PRODUCT_PACKAGES += WifiOverlayT6pro
# Disable camera flash and autofocus related xml with a disable flag.
# This flag need to be set before device/google/gs201/device.mk
DISABLE_CAMERA_FS_AF := true
include device/google/gs201/device-shipping-common.mk
include device/google/tangorpro/audio/tangorpro/audio-tables.mk