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:
commit
09ba2cf9b7
5 changed files with 32 additions and 0 deletions
10
bluejay/overlay_packages/DeviceAsWebcam/Android.bp
Normal file
10
bluejay/overlay_packages/DeviceAsWebcam/Android.bp
Normal 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",
|
||||||
|
}
|
11
bluejay/overlay_packages/DeviceAsWebcam/AndroidManifest.xml
Normal file
11
bluejay/overlay_packages/DeviceAsWebcam/AndroidManifest.xml
Normal 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>
|
1
bluejay/overlay_packages/DeviceAsWebcam/OWNERS
Normal file
1
bluejay/overlay_packages/DeviceAsWebcam/OWNERS
Normal file
|
@ -0,0 +1 @@
|
||||||
|
include platform/frameworks/av:/camera/OWNERS
|
|
@ -0,0 +1 @@
|
||||||
|
{"0": {"3" : "UW"}}
|
|
@ -194,6 +194,11 @@ PRODUCT_PACKAGES += \
|
||||||
NoCutoutOverlay \
|
NoCutoutOverlay \
|
||||||
AvoidAppsInCutoutOverlay
|
AvoidAppsInCutoutOverlay
|
||||||
|
|
||||||
|
|
||||||
|
# Android DeviceAsWebcam specific overlay
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
DeviceAsWebcamBluejay
|
||||||
|
|
||||||
# SKU specific RROs
|
# SKU specific RROs
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
SettingsOverlayGB17L \
|
SettingsOverlayGB17L \
|
||||||
|
@ -246,3 +251,7 @@ PRODUCT_PRODUCT_PROPERTIES ?= \
|
||||||
|
|
||||||
# UFS: the script is used to select the corresponding firmware to run FFU.
|
# UFS: the script is used to select the corresponding firmware to run FFU.
|
||||||
PRODUCT_PACKAGES += ufs_firmware_update.sh
|
PRODUCT_PACKAGES += ufs_firmware_update.sh
|
||||||
|
|
||||||
|
# Enable DeviceAsWebcam support
|
||||||
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
|
ro.usb.uvc.enabled=true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue