diff options
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c98555f..a1183d5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | <!-- | 3 | <!-- |
4 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon | 4 | * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon |
5 | * Copyright (C) 2017-2020 Pacien TRAN-GIRARD | 5 | * Copyright (C) 2017-2023 Pacien TRAN-GIRARD |
6 | * | 6 | * |
7 | * This program is free software: you can redistribute it and/or modify | 7 | * This program is free software: you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
@@ -19,25 +19,24 @@ | |||
19 | --> | 19 | --> |
20 | 20 | ||
21 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 21 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
22 | xmlns:tools="http://schemas.android.com/tools" | 22 | xmlns:tools="http://schemas.android.com/tools"> |
23 | package="org.pacien.tincapp"> | ||
24 | 23 | ||
25 | <uses-permission android:name="android.permission.INTERNET" /> | 24 | <uses-permission android:name="android.permission.INTERNET" /> |
26 | 25 | ||
27 | <!-- needed for the configuration FTP server --> | ||
28 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> | ||
29 | |||
30 | <!-- workaround for broken file permissions on some Android ROMs --> | 26 | <!-- workaround for broken file permissions on some Android ROMs --> |
31 | <uses-permission-sdk-23 android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | 27 | <uses-permission-sdk-23 android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
32 | 28 | ||
33 | <application | 29 | <application |
34 | android:name="org.pacien.tincapp.context.App" | 30 | android:name="org.pacien.tincapp.context.App" |
35 | android:allowBackup="false" | 31 | android:allowBackup="true" |
32 | android:dataExtractionRules="@xml/data_extraction_rules" | ||
33 | android:fullBackupContent="@xml/backup_rules" | ||
36 | android:icon="@mipmap/ic_launcher" | 34 | android:icon="@mipmap/ic_launcher" |
37 | android:label="@string/app_name" | 35 | android:label="@string/app_name" |
38 | android:supportsRtl="true" | 36 | android:supportsRtl="true" |
39 | android:theme="@style/AppTheme" | 37 | android:theme="@style/AppTheme" |
40 | tools:ignore="GoogleAppIndexingWarning"> | 38 | tools:ignore="GoogleAppIndexingWarning" |
39 | tools:targetApi="s"> | ||
41 | 40 | ||
42 | <uses-library | 41 | <uses-library |
43 | android:name="org.apache.http.legacy" | 42 | android:name="org.apache.http.legacy" |
@@ -46,7 +45,7 @@ | |||
46 | <activity | 45 | <activity |
47 | android:name=".activities.start.StartActivity" | 46 | android:name=".activities.start.StartActivity" |
48 | android:configChanges="orientation|screenSize" | 47 | android:configChanges="orientation|screenSize" |
49 | android:label="@string/app_name"> | 48 | android:exported="true"> |
50 | <intent-filter> | 49 | <intent-filter> |
51 | <action android:name="android.intent.action.MAIN" /> | 50 | <action android:name="android.intent.action.MAIN" /> |
52 | <category android:name="android.intent.category.LAUNCHER" /> | 51 | <category android:name="android.intent.category.LAUNCHER" /> |
@@ -65,7 +64,8 @@ | |||
65 | 64 | ||
66 | <activity | 65 | <activity |
67 | android:name=".activities.status.StatusActivity" | 66 | android:name=".activities.status.StatusActivity" |
68 | android:configChanges="orientation|screenSize"> | 67 | android:configChanges="orientation|screenSize" |
68 | android:exported="true"> | ||
69 | <intent-filter> | 69 | <intent-filter> |
70 | <action android:name="org.pacien.tincapp.intent.action.DISCONNECT" /> | 70 | <action android:name="org.pacien.tincapp.intent.action.DISCONNECT" /> |
71 | <category android:name="android.intent.category.DEFAULT" /> | 71 | <category android:name="android.intent.category.DEFAULT" /> |
@@ -78,16 +78,13 @@ | |||
78 | 78 | ||
79 | <service | 79 | <service |
80 | android:name="org.pacien.tincapp.service.TincVpnService" | 80 | android:name="org.pacien.tincapp.service.TincVpnService" |
81 | android:permission="android.permission.BIND_VPN_SERVICE"> | 81 | android:permission="android.permission.BIND_VPN_SERVICE" |
82 | android:exported="true"> | ||
82 | <intent-filter> | 83 | <intent-filter> |
83 | <action android:name="android.net.VpnService" /> | 84 | <action android:name="android.net.VpnService" /> |
84 | </intent-filter> | 85 | </intent-filter> |
85 | </service> | 86 | </service> |
86 | 87 | ||
87 | <service | ||
88 | android:name="org.pacien.tincapp.service.ConfigurationAccessService"> | ||
89 | </service> | ||
90 | |||
91 | </application> | 88 | </application> |
92 | 89 | ||
93 | </manifest> | 90 | </manifest> |