blob: 6a1ecaf130eea1cdd1311fcc9d15386192b31624 [file] [log] [blame]
Jeongik Cha146bd252024-08-13 17:44:00 +09001<?xml version="1.0" encoding="utf-8"?>
Mu-Le Lee15052b72024-11-11 09:41:09 +00002<!-- Copyright 2024 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 -->
16
Jeongik Cha146bd252024-08-13 17:44:00 +090017<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Mu-Le Lee0b53a602024-10-10 21:01:03 +080018 xmlns:tools="http://schemas.android.com/tools"
19 package="com.android.virtualization.terminal">
Jeongik Cha146bd252024-08-13 17:44:00 +090020
Jaewan Kimc0ff5212024-10-25 13:08:29 +090021 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Jaewan Kimb3ff5e22024-10-14 16:28:50 +090022 <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090023 <uses-permission android:name="android.permission.MANAGE_VIRTUAL_MACHINE" />
24 <uses-permission android:name="android.permission.USE_CUSTOM_VIRTUAL_MACHINE" />
Jeongik Cha146bd252024-08-13 17:44:00 +090025 <uses-permission android:name="android.permission.INTERNET" />
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090026 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
27 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"/>
Mu-Le Leea3bd6c42024-10-17 23:36:43 +080028 <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
Jeongik Cha146bd252024-08-13 17:44:00 +090029
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090030 <uses-feature android:name="android.software.virtualization_framework" android:required="true" />
Mu-Le Lee0b53a602024-10-10 21:01:03 +080031
Jeongik Cha146bd252024-08-13 17:44:00 +090032 <application
Jaewan Kime2f66d32024-10-07 17:16:30 +090033 android:label="@string/app_name"
Jiyong Park50df8dc2024-09-03 12:49:09 +090034 android:icon="@mipmap/ic_launcher"
Mu-Le Lee0b53a602024-10-10 21:01:03 +080035 android:theme="@style/Theme.Material3.DayNight.NoActionBar"
Jaewan Kime2f66d32024-10-07 17:16:30 +090036 android:usesCleartextTraffic="true"
37 android:enabled="false">
Jeongik Cha146bd252024-08-13 17:44:00 +090038 <activity android:name=".MainActivity"
Jeongik Chaebf4c352024-08-30 17:08:56 +090039 android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation|uiMode|screenLayout|smallestScreenSize"
Jeongik Chaef989e22024-08-30 13:25:43 +090040 android:exported="true">
41 <intent-filter>
Jaewan Kime2f66d32024-10-07 17:16:30 +090042 <action android:name="android.intent.action.MAIN" />
Jeongik Chaef989e22024-08-30 13:25:43 +090043 <action android:name="android.virtualization.VM_TERMINAL" />
Jaewan Kime2f66d32024-10-07 17:16:30 +090044 <category android:name="android.intent.category.LAUNCHER" />
Jeongik Chaef989e22024-08-30 13:25:43 +090045 <category android:name="android.intent.category.DEFAULT" />
46 </intent-filter>
47 </activity>
Mu-Le Lee0b53a602024-10-10 21:01:03 +080048 <activity android:name=".SettingsActivity">
49 </activity>
50 <activity android:name=".SettingsDiskResizeActivity">
51 </activity>
52 <activity android:name=".SettingsPortForwardingActivity">
53 </activity>
54 <activity android:name=".SettingsRecoveryActivity">
55 </activity>
56 <property
57 android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED"
58 android:value="true" />
59 <provider
60 android:name="androidx.startup.InitializationProvider"
61 android:authorities="${applicationId}.androidx-startup"
62 android:exported="false"
63 tools:node="merge">
64 <meta-data
65 android:name="${applicationId}.SplitInitializer"
66 android:value="androidx.startup" />
67 </provider>
Jaewan Kimb3ff5e22024-10-14 16:28:50 +090068 <activity android:name=".InstallerActivity"
69 android:exported="false">
70 <intent-filter>
71 <action android:name="android.intent.action.MAIN" />
72 </intent-filter>
73 </activity>
Jaewan Kimb6bcab82024-10-22 00:59:12 +090074 <service android:name=".InstallerService"
75 android:foregroundServiceType="specialUse"
76 android:value="Prepares Linux image"
77 android:exported="false"
78 android:stopWithTask="true" />
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090079
80 <service
81 android:name="com.android.virtualization.vmlauncher.VmLauncherService"
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090082 android:exported="false"
Jeongik Chae0848f22024-11-08 05:10:14 +000083 android:foregroundServiceType="specialUse"
84 android:stopWithTask="true" >
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090085 <property
86 android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
87 android:value="Run VM instances" />
88 <intent-filter>
89 <action android:name="android.virtualization.START_VM_LAUNCHER_SERVICE" />
90 <category android:name="android.intent.category.DEFAULT" />
91 </intent-filter>
92 </service>
Jeongik Cha146bd252024-08-13 17:44:00 +090093 </application>
94
95</manifest>