Phase 0/4: manifest with permissions and service
Browse files
app/src/main/AndroidManifest.xml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
| 3 |
+
|
| 4 |
+
<uses-permission android:name="android.permission.INTERNET" />
|
| 5 |
+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
| 6 |
+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
| 7 |
+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
| 8 |
+
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
|
| 9 |
+
<uses-permission android:name="com.termux.permission.RUN_COMMAND" />
|
| 10 |
+
|
| 11 |
+
<queries>
|
| 12 |
+
<package android:name="com.termux" />
|
| 13 |
+
</queries>
|
| 14 |
+
|
| 15 |
+
<application
|
| 16 |
+
android:allowBackup="false"
|
| 17 |
+
android:label="ModularAI"
|
| 18 |
+
android:theme="@android:style/Theme.Material.NoActionBar"
|
| 19 |
+
android:usesCleartextTraffic="false">
|
| 20 |
+
|
| 21 |
+
<activity
|
| 22 |
+
android:name=".MainActivity"
|
| 23 |
+
android:exported="true">
|
| 24 |
+
<intent-filter>
|
| 25 |
+
<action android:name="android.intent.action.MAIN" />
|
| 26 |
+
<category android:name="android.intent.category.LAUNCHER" />
|
| 27 |
+
</intent-filter>
|
| 28 |
+
<intent-filter>
|
| 29 |
+
<action android:name="android.intent.action.SEND" />
|
| 30 |
+
<category android:name="android.intent.category.DEFAULT" />
|
| 31 |
+
<data android:mimeType="text/plain" />
|
| 32 |
+
</intent-filter>
|
| 33 |
+
</activity>
|
| 34 |
+
|
| 35 |
+
<service
|
| 36 |
+
android:name=".service.AgentService"
|
| 37 |
+
android:exported="false"
|
| 38 |
+
android:foregroundServiceType="dataSync" />
|
| 39 |
+
</application>
|
| 40 |
+
</manifest>
|