Manifest: console launcher, installer receiver, install permission
Browse files
app/src/main/AndroidManifest.xml
CHANGED
|
@@ -6,6 +6,7 @@
|
|
| 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>
|
|
@@ -14,6 +15,7 @@
|
|
| 14 |
|
| 15 |
<application
|
| 16 |
android:allowBackup="false"
|
|
|
|
| 17 |
android:label="ModularAI"
|
| 18 |
android:theme="@android:style/Theme.Material.NoActionBar"
|
| 19 |
android:usesCleartextTraffic="false">
|
|
@@ -32,9 +34,24 @@
|
|
| 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>
|
|
|
|
| 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="android.permission.REQUEST_INSTALL_PACKAGES" />
|
| 10 |
<uses-permission android:name="com.termux.permission.RUN_COMMAND" />
|
| 11 |
|
| 12 |
<queries>
|
|
|
|
| 15 |
|
| 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">
|
|
|
|
| 34 |
</intent-filter>
|
| 35 |
</activity>
|
| 36 |
|
| 37 |
+
<activity
|
| 38 |
+
android:name=".ConsoleActivity"
|
| 39 |
+
android:label="ModularAI Console"
|
| 40 |
+
android:windowSoftInputMode="adjustResize"
|
| 41 |
+
android:exported="true">
|
| 42 |
+
<intent-filter>
|
| 43 |
+
<action android:name="android.intent.action.MAIN" />
|
| 44 |
+
<category android:name="android.intent.category.LAUNCHER" />
|
| 45 |
+
</intent-filter>
|
| 46 |
+
</activity>
|
| 47 |
+
|
| 48 |
<service
|
| 49 |
android:name=".service.AgentService"
|
| 50 |
android:exported="false"
|
| 51 |
android:foregroundServiceType="dataSync" />
|
| 52 |
+
|
| 53 |
+
<receiver
|
| 54 |
+
android:name=".update.InstallReceiver"
|
| 55 |
+
android:exported="false" />
|
| 56 |
</application>
|
| 57 |
</manifest>
|