DeviceAsWebcam: Add overlays for physical camera id
Using physical streams reduces power since camera consumes a bulk of the power. Bug: 242346116 Test: Manual webcam use; See power reduction Change-Id: I2157c2ee23301987d80e4cda9da7bdaea3725025
This commit is contained in:
parent
03169c5655
commit
89f99fd401
5 changed files with 28 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 \
|
||||
AvoidAppsInCutoutOverlay
|
||||
|
||||
|
||||
# Android DeviceAsWebcam specific overlay
|
||||
PRODUCT_PACKAGES += \
|
||||
DeviceAsWebcamBluejay
|
||||
|
||||
# SKU specific RROs
|
||||
PRODUCT_PACKAGES += \
|
||||
SettingsOverlayGB17L \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue