mirror of
https://github.com/TonyJiangWJ/Auto.js.git
synced 2026-06-24 21:33:16 +08:00
修复 打包后没有无障碍服务的问题
This commit is contained in:
parent
1ff36a799d
commit
e4de1e0aaa
@ -275,20 +275,6 @@
|
||||
<data android:mimeType="text/plain"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<service
|
||||
android:name="com.stardust.autojs.core.accessibility.AccessibilityService"
|
||||
android:label="@string/_app_name"
|
||||
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.accessibilityservice.AccessibilityService"/>
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.accessibilityservice"
|
||||
android:resource="@xml/accessibility_service_config"/>
|
||||
</service>
|
||||
|
||||
<service
|
||||
android:name="com.stardust.notification.NotificationListenerService"
|
||||
android:label="@string/_app_name"
|
||||
|
||||
@ -30,6 +30,18 @@
|
||||
android:taskAffinity="com.stardust.autojs.runtime.api.image.ScreenCaptureRequestActivity"
|
||||
android:theme="@style/ScriptTheme.Transparent"/>
|
||||
|
||||
<service
|
||||
android:name="com.stardust.autojs.core.accessibility.AccessibilityService"
|
||||
android:label="@string/_app_name"
|
||||
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.accessibilityservice.AccessibilityService"/>
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.accessibilityservice"
|
||||
android:resource="@xml/accessibility_service_config"/>
|
||||
</service>
|
||||
|
||||
</application>
|
||||
|
||||
|
||||
@ -1,10 +1,8 @@
|
||||
package com.stardust.auojs.inrt.launch;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
|
||||
import com.stardust.app.GlobalAppContext;
|
||||
import com.stardust.auojs.inrt.App;
|
||||
|
||||
/**
|
||||
* Created by Stardust on 2018/3/21.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user