| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright 2024 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| package="com.android.virtualization.terminal"> |
| |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> |
| <uses-permission android:name="android.permission.MANAGE_VIRTUAL_MACHINE" /> |
| <uses-permission android:name="android.permission.USE_CUSTOM_VIRTUAL_MACHINE" /> |
| <uses-permission android:name="android.permission.INTERNET" /> |
| <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"/> |
| <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> |
| |
| <uses-feature android:name="android.software.virtualization_framework" android:required="true" /> |
| |
| <application |
| android:label="@string/app_name" |
| android:icon="@mipmap/ic_launcher" |
| android:theme="@style/VmTerminalAppTheme" |
| android:usesCleartextTraffic="true" |
| android:supportsRtl="true" |
| android:enabled="false"> |
| <activity android:name=".MainActivity" |
| android:configChanges="orientation|screenSize|keyboard|keyboardHidden|navigation|uiMode|screenLayout|smallestScreenSize" |
| android:exported="true"> |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| <action android:name="android.virtualization.VM_TERMINAL" /> |
| <category android:name="android.intent.category.LAUNCHER" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| </activity> |
| <activity android:name=".SettingsActivity" |
| android:label="@string/action_settings" /> |
| <activity android:name=".SettingsDiskResizeActivity" |
| android:label="@string/settings_disk_resize_title" /> |
| <activity android:name=".SettingsPortForwardingActivity" |
| android:label="@string/settings_port_forwarding_title" /> |
| <activity android:name=".SettingsRecoveryActivity" |
| android:label="@string/settings_recovery_title" /> |
| <activity android:name=".ErrorActivity" |
| android:label="@string/error_title" |
| android:process=":error" /> |
| <property |
| android:name="android.window.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED" |
| android:value="true" /> |
| <provider |
| android:name="androidx.startup.InitializationProvider" |
| android:authorities="${applicationId}.androidx-startup" |
| android:exported="false" |
| tools:node="merge"> |
| <meta-data |
| android:name="${applicationId}.SplitInitializer" |
| android:value="androidx.startup" /> |
| </provider> |
| <activity android:name=".InstallerActivity" |
| android:exported="false"> |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| </intent-filter> |
| </activity> |
| <service android:name=".InstallerService" |
| android:foregroundServiceType="specialUse" |
| android:value="Prepares Linux image" |
| android:exported="false" |
| android:stopWithTask="true" /> |
| |
| <service |
| android:name=".VmLauncherService" |
| android:exported="false" |
| android:foregroundServiceType="specialUse" |
| android:stopWithTask="true" > |
| <property |
| android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" |
| android:value="Run VM instances" /> |
| </service> |
| </application> |
| |
| </manifest> |