Add camera to feature list

Copy the rule android.hardware.camera.xml for a non auto-focus
camera.

Bug: 225749853
Test: adb shell pm list features
Change-Id: I61f47bd965bce476471325a38f6d136cc568d65c
This commit is contained in:
horngchuang 2022-03-22 11:14:15 +08:00 committed by Blossom Chiang
parent 3eb0ab2628
commit d7ce913606

View file

@ -589,6 +589,9 @@ PRODUCT_COPY_FILES += \
ifneq ($(DISABLE_CAMERA_FS_AF),true)
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml
else
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.camera.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.xml
endif
PRODUCT_COPY_FILES += \