blob: a9d6e9df7e0ae3578620530914e52985ceb0429f [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"
Jaewan Kimb0b76152024-11-19 14:01:50 +090037 android:supportsRtl="true"
Jaewan Kime2f66d32024-10-07 17:16:30 +090038 android:enabled="false">
Jeongik Cha146bd252024-08-13 17:44:00 +090039 <activity android:name=".MainActivity"
Jeongik Chaebf4c352024-08-30 17:08:56 +090040 android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation|uiMode|screenLayout|smallestScreenSize"
Jeongik Chaef989e22024-08-30 13:25:43 +090041 android:exported="true">
42 <intent-filter>
Jaewan Kime2f66d32024-10-07 17:16:30 +090043 <action android:name="android.intent.action.MAIN" />
Jeongik Chaef989e22024-08-30 13:25:43 +090044 <action android:name="android.virtualization.VM_TERMINAL" />
Jaewan Kime2f66d32024-10-07 17:16:30 +090045 <category android:name="android.intent.category.LAUNCHER" />
Jeongik Chaef989e22024-08-30 13:25:43 +090046 <category android:name="android.intent.category.DEFAULT" />
47 </intent-filter>
48 </activity>
Jaewan Kim49c82592024-11-20 13:58:30 +090049 <activity android:name=".SettingsActivity" />
50 <activity android:name=".SettingsDiskResizeActivity" />
51 <activity android:name=".SettingsPortForwardingActivity" />
52 <activity android:name=".SettingsRecoveryActivity" />
53 <activity android:name=".ErrorActivity" />
Mu-Le Lee0b53a602024-10-10 21:01:03 +080054 <property
55 android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED"
56 android:value="true" />
57 <provider
58 android:name="androidx.startup.InitializationProvider"
59 android:authorities="${applicationId}.androidx-startup"
60 android:exported="false"
61 tools:node="merge">
62 <meta-data
63 android:name="${applicationId}.SplitInitializer"
64 android:value="androidx.startup" />
65 </provider>
Jaewan Kimb3ff5e22024-10-14 16:28:50 +090066 <activity android:name=".InstallerActivity"
67 android:exported="false">
68 <intent-filter>
69 <action android:name="android.intent.action.MAIN" />
70 </intent-filter>
71 </activity>
Jaewan Kimb6bcab82024-10-22 00:59:12 +090072 <service android:name=".InstallerService"
73 android:foregroundServiceType="specialUse"
74 android:value="Prepares Linux image"
75 android:exported="false"
76 android:stopWithTask="true" />
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090077
78 <service
Seungjae Yoo675f1332024-11-20 19:29:05 +090079 android:name=".VmLauncherService"
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090080 android:exported="false"
Jeongik Chae0848f22024-11-08 05:10:14 +000081 android:foregroundServiceType="specialUse"
82 android:stopWithTask="true" >
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090083 <property
84 android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
85 android:value="Run VM instances" />
Jeongik Cha4a8ee3a2024-09-20 18:06:29 +090086 </service>
Jeongik Cha146bd252024-08-13 17:44:00 +090087 </application>
88
89</manifest>