blob: 3d430ab561cfd9760bbf09d319eb540b9e141a22 [file] [log] [blame]
Chia-chi Yeh9ad3f402011-11-23 17:09:17 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.example.android.toyvpn">
19
Dianne Hackborn7049e082018-01-19 17:55:31 -080020 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
Hui Yu412e5632022-12-19 18:07:53 +000021 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"/>
Chia-chi Yeh9ad3f402011-11-23 17:09:17 -080022 <uses-permission android:name="android.permission.INTERNET"/>
23
24 <uses-sdk android:minSdkVersion="14"/>
25
26 <application android:label="@string/app">
27
28 <activity android:name=".ToyVpnClient"
29 android:configChanges="orientation|keyboardHidden">
30 <intent-filter>
31 <action android:name="android.intent.action.MAIN"/>
32 <category android:name="android.intent.category.LAUNCHER"/>
33 </intent-filter>
34 </activity>
35
36 <service android:name=".ToyVpnService"
Hui Yu412e5632022-12-19 18:07:53 +000037 android:permission="android.permission.BIND_VPN_SERVICE"
38 android:foregroundServiceType="specialUse">
39 <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="vpn" />
Chia-chi Yeh9ad3f402011-11-23 17:09:17 -080040 <intent-filter>
41 <action android:name="android.net.VpnService"/>
42 </intent-filter>
43 </service>
44 </application>
45</manifest>