Abrarul8541 commited on
Commit
72847b0
·
verified ·
1 Parent(s): 791b73c

Manifest: accessibility service, configChanges, app label resource

Browse files
Files changed (1) hide show
  1. app/src/main/AndroidManifest.xml +16 -1
app/src/main/AndroidManifest.xml CHANGED
@@ -16,12 +16,13 @@
16
  <application
17
  android:allowBackup="false"
18
  android:extractNativeLibs="true"
19
- android:label="ModularAI"
20
  android:theme="@android:style/Theme.Material.NoActionBar"
21
  android:usesCleartextTraffic="false">
22
 
23
  <activity
24
  android:name=".MainActivity"
 
25
  android:exported="true">
26
  <intent-filter>
27
  <action android:name="android.intent.action.MAIN" />
@@ -37,6 +38,7 @@
37
  <activity
38
  android:name=".ConsoleActivity"
39
  android:label="ModularAI Console"
 
40
  android:windowSoftInputMode="adjustResize"
41
  android:exported="true">
42
  <intent-filter>
@@ -50,6 +52,19 @@
50
  android:exported="false"
51
  android:foregroundServiceType="dataSync" />
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  <receiver
54
  android:name=".update.InstallReceiver"
55
  android:exported="false" />
 
16
  <application
17
  android:allowBackup="false"
18
  android:extractNativeLibs="true"
19
+ android:label="@string/app_name"
20
  android:theme="@android:style/Theme.Material.NoActionBar"
21
  android:usesCleartextTraffic="false">
22
 
23
  <activity
24
  android:name=".MainActivity"
25
+ android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboardHidden|uiMode"
26
  android:exported="true">
27
  <intent-filter>
28
  <action android:name="android.intent.action.MAIN" />
 
38
  <activity
39
  android:name=".ConsoleActivity"
40
  android:label="ModularAI Console"
41
+ android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboardHidden|uiMode"
42
  android:windowSoftInputMode="adjustResize"
43
  android:exported="true">
44
  <intent-filter>
 
52
  android:exported="false"
53
  android:foregroundServiceType="dataSync" />
54
 
55
+ <service
56
+ android:name=".service.AgentAccessibilityService"
57
+ android:exported="false"
58
+ android:label="ModularAI Agent"
59
+ android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
60
+ <intent-filter>
61
+ <action android:name="android.accessibilityservice.AccessibilityService" />
62
+ </intent-filter>
63
+ <meta-data
64
+ android:name="android.accessibilityservice"
65
+ android:resource="@xml/accessibility_config" />
66
+ </service>
67
+
68
  <receiver
69
  android:name=".update.InstallReceiver"
70
  android:exported="false" />