Files
rk35xx-android14/packages/services/DeviceAsWebcam/AndroidManifest.xml
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

39 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
coreApp="true"
android:sharedUserId="android.uid.system"
package="com.android.DeviceAsWebcam">
<uses-feature android:name="android.hardware.usb.host"/>
<uses-feature android:name="android.hardware.camera.any" android:required="true"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA"/>
<application
android:label="@string/app_label">
<receiver android:name=".DeviceAsWebcamReceiver"
android:exported="true"
android:singleUser="true">
<intent-filter>
<action android:name="android.hardware.usb.action.USB_STATE"/>
</intent-filter>
</receiver>
<activity android:name=".DeviceAsWebcamPreview"
android:excludeFromRecents="true"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize|keyboardHidden"
android:label="@string/app_label"
android:theme="@style/ActivityTheme"
android:singleUser="true">
</activity>
<service
android:name=".DeviceAsWebcamFgService"
android:foregroundServiceType="camera"
android:singleUser="true"/>
</application>
</manifest>