50 lines
2.0 KiB
XML
50 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.artemis.helper">
|
|
|
|
<uses-sdk
|
|
android:minSdkVersion="24"
|
|
android:targetSdkVersion="35" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
|
|
<application
|
|
android:allowBackup="false"
|
|
android:label="@string/app_name"
|
|
android:supportsRtl="true">
|
|
|
|
<service
|
|
android:name=".ArtemisAccessibilityService"
|
|
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"
|
|
android:exported="true"
|
|
android:foregroundServiceType="specialUse">
|
|
<intent-filter>
|
|
<action android:name="android.accessibilityservice.AccessibilityService" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.accessibilityservice"
|
|
android:resource="@xml/accessibility_service_config" />
|
|
<property
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
android:value="Artemis mobile automation test bridge" />
|
|
</service>
|
|
|
|
<!-- Session token drop: only a sender holding WRITE_SECURE_SETTINGS (the adb
|
|
shell user, the system) can deliver this broadcast, so no ordinary app on
|
|
the device can set a token of its own and then talk to the loopback server. -->
|
|
<receiver
|
|
android:name=".TokenReceiver"
|
|
android:exported="true"
|
|
android:permission="android.permission.WRITE_SECURE_SETTINGS">
|
|
<intent-filter>
|
|
<action android:name="com.artemis.helper.SET_TOKEN" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
</application>
|
|
|
|
</manifest>
|