Merge changes from topic "daw-enable-bluejay" into udc-qpr-dev

* changes:
  Enable UVC support on Bluejay
  DeviceAsWebcam: Add overlays for physical camera id
This commit is contained in:
TreeHugger Robot 2023-07-20 02:43:09 +00:00 committed by Android (Google) Code Review
commit 09ba2cf9b7
5 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,10 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
runtime_resource_overlay {
name: "DeviceAsWebcamBluejay",
certificate: "platform",
product_specific: true,
sdk_version: "current",
}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.overlay.DeviceAsWebcam"
android:versionCode="1"
android:versionName="1.0" >
<application android:hasCode="false" />
<overlay
android:targetPackage="com.android.DeviceAsWebcam"
android:isStatic="true"
android:priority="1"/>
</manifest>

View file

@ -0,0 +1 @@
include platform/frameworks/av:/camera/OWNERS

View file

@ -0,0 +1 @@
{"0": {"3" : "UW"}}

View file

@ -194,6 +194,11 @@ PRODUCT_PACKAGES += \
NoCutoutOverlay \
AvoidAppsInCutoutOverlay
# Android DeviceAsWebcam specific overlay
PRODUCT_PACKAGES += \
DeviceAsWebcamBluejay
# SKU specific RROs
PRODUCT_PACKAGES += \
SettingsOverlayGB17L \
@ -246,3 +251,7 @@ PRODUCT_PRODUCT_PROPERTIES ?= \
# UFS: the script is used to select the corresponding firmware to run FFU.
PRODUCT_PACKAGES += ufs_firmware_update.sh
# Enable DeviceAsWebcam support
PRODUCT_VENDOR_PROPERTIES += \
ro.usb.uvc.enabled=true