You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.5 KiB
39 lines
1.5 KiB
<?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>
|