flo/deb: Make the external camera provider ignore internal cameras * The external camera provider occupies our camera v4l2 nodes, potentially crashing the kernel driver and blocking the camera HAL. Unfortunately, there's no easy way to just disable it, so let's just tell it to ignore the internal video devices.
This commit is contained in:
parent
bec8cf46f8
commit
809df7c611
|
@ -0,0 +1,14 @@
|
|||
<ExternalCamera>
|
||||
<Provider>
|
||||
<!-- Internal video devices to be ignored by external camera HAL -->
|
||||
<ignore>
|
||||
<id>0</id>
|
||||
<id>1</id>
|
||||
<id>2</id>
|
||||
<id>3</id>
|
||||
<id>38</id>
|
||||
<id>39</id>
|
||||
<id>100</id>
|
||||
</ignore>
|
||||
</Provider>
|
||||
</ExternalCamera>
|
|
@ -72,6 +72,9 @@ PRODUCT_PACKAGES += \
|
|||
android.hardware.camera.provider@2.4-impl \
|
||||
camera.device@3.2-impl
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/asus/flo/configs/external_camera_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/external_camera_config.xml
|
||||
|
||||
# Charger
|
||||
PRODUCT_PACKAGES += \
|
||||
charger_res_images \
|
||||
|
|
Loading…
Reference in New Issue