1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : tools =" http://schemas.android.com/tools"
4
- package =" fr.gaulupeau.apps.InThePoche"
5
- android : installLocation =" auto" >
6
-
7
- <uses-permission android : name =" android.permission.INTERNET" />
8
- <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
9
- <uses-permission android : name =" android.permission.RECEIVE_BOOT_COMPLETED" />
10
- <uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE" android : maxSdkVersion =" 22" />
11
- <uses-permission android : name =" android.permission.FOREGROUND_SERVICE" /> <!-- needed by TTS service for Android P or above -->
3
+ xmlns : tools =" http://schemas.android.com/tools"
4
+ package =" fr.gaulupeau.apps.InThePoche"
5
+ android : installLocation =" auto" >
12
6
13
7
<application
14
8
android : name =" fr.gaulupeau.apps.Poche.App"
15
9
android : allowBackup =" true"
16
10
android : icon =" @drawable/icon"
17
11
android : label =" @string/app_name"
12
+ android : networkSecurityConfig =" @xml/network_security_config"
18
13
android : supportsRtl =" true"
19
- android : theme =" @style/LightTheme"
20
- android : networkSecurityConfig =" @xml/network_security_config" >
14
+ android : theme =" @style/MyTheme.DayNight" >
21
15
<activity
22
- android : name =" fr.gaulupeau.apps.Poche.ui.MainActivity"
23
- android : theme =" @style/LightTheme.NoActionBar" >
16
+ android : name =" fr.gaulupeau.apps.Poche.ui.preferences.SettingsActivity"
17
+ android : label =" @string/title_activity_settings"
18
+ android : parentActivityName =" fr.gaulupeau.apps.Poche.ui.MainActivity"
19
+ android : theme =" @style/MyTheme.DayNight" >
20
+ <meta-data
21
+ android : name =" android.support.PARENT_ACTIVITY"
22
+ android : value =" fr.gaulupeau.apps.Poche.ui.MainActivity" />
23
+ </activity >
24
+ <activity android : name =" fr.gaulupeau.apps.Poche.ui.MainActivity"
25
+ android : theme =" @style/MyTheme.DayNight" >
24
26
<intent-filter >
25
- <action android : name =" android.intent.action.MAIN" />
26
- <action android : name =" android.intent.action.SEARCH" />
27
+ <action android : name =" android.intent.action.MAIN" />
28
+ <action android : name =" android.intent.action.SEARCH" />
27
29
28
- <category android : name =" android.intent.category.LAUNCHER" />
30
+ <category android : name =" android.intent.category.LAUNCHER" />
29
31
</intent-filter >
30
- <meta-data android : name =" android.app.searchable"
31
- android : resource =" @xml/searchable" />
32
+
33
+ <meta-data
34
+ android : name =" android.app.searchable"
35
+ android : resource =" @xml/searchable" />
32
36
</activity >
33
37
<activity
34
38
android : name =" fr.gaulupeau.apps.Poche.ui.ReadArticleActivity"
35
- android : hardwareAccelerated =" true" />
36
- < activity
37
- android : name =" fr.gaulupeau.apps.Poche.ui.ManageArticleTagsActivity" />
39
+ android : hardwareAccelerated =" true"
40
+ android : theme = " @style/MyTheme.DayNight " />
41
+ < activity android : name =" fr.gaulupeau.apps.Poche.ui.ManageArticleTagsActivity" />
38
42
<activity
39
43
android : name =" fr.gaulupeau.apps.Poche.ui.AddUrlProxyActivity"
40
- android : theme =" @style/ProxyTheme " >
44
+ android : theme =" @style/MyTheme.DayNight " >
41
45
<intent-filter android : label =" @string/app_name" >
42
46
<action android : name =" android.intent.action.SEND" />
43
47
52
56
android : enabled =" false"
53
57
android : excludeFromRecents =" true"
54
58
android : noHistory =" true"
55
- android : theme =" @style/ProxyTheme " >
59
+ android : theme =" @style/MyTheme.DayNight " >
56
60
<intent-filter >
57
61
<action android : name =" android.intent.action.VIEW" />
58
62
76
80
<data android : mimeType =" application/vnd.wap.xhtml+xml" />
77
81
</intent-filter >
78
82
</activity >
79
-
80
- <activity android : name =" fr.gaulupeau.apps.Poche.ui.preferences.SettingsActivity" >
83
+ <activity android : name =" fr.gaulupeau.apps.Poche.ui.preferences.SettingsActivity$SyncFragment" >
81
84
<intent-filter >
82
85
<action android : name =" android.intent.action.MANAGE_NETWORK_USAGE" />
86
+
83
87
<category android : name =" android.intent.category.DEFAULT" />
84
88
</intent-filter >
85
89
</activity >
86
-
87
- < activity android : name = " fr.gaulupeau.apps.Poche.ui.preferences.ConnectionWizardActivity " >
90
+ < activity android : name = " fr.gaulupeau.apps.Poche.ui.preferences.ConnectionWizardActivity "
91
+ android : theme = " @style/MyTheme.DayNight " >
88
92
<intent-filter >
89
- <action android : name =" android.intent.action.VIEW" />
90
- <category android : name =" android.intent.category.DEFAULT" />
91
- <category android : name =" android.intent.category.BROWSABLE" />
92
- <data android : scheme =" wallabag" />
93
+ <action android : name =" android.intent.action.VIEW" />
94
+
95
+ <category android : name =" android.intent.category.DEFAULT" />
96
+ <category android : name =" android.intent.category.BROWSABLE" />
97
+
98
+ <data android : scheme =" wallabag" />
93
99
</intent-filter >
94
100
</activity >
95
101
102
+ <provider
103
+ android : name =" androidx.core.content.FileProvider"
104
+ android : authorities =" ${applicationId}.fileprovider"
105
+ android : exported =" false"
106
+ android : grantUriPermissions =" true" >
107
+ <meta-data
108
+ android : name =" android.support.FILE_PROVIDER_PATHS"
109
+ android : resource =" @xml/provider_paths" />
110
+ </provider >
111
+
96
112
<receiver android : name =" androidx.media.session.MediaButtonReceiver" >
97
113
<intent-filter >
98
114
<action android : name =" android.intent.action.MEDIA_BUTTON" />
99
115
</intent-filter >
100
116
</receiver >
101
-
102
- <service
103
- android : name =" fr.gaulupeau.apps.Poche.tts.TtsService"
104
- android : exported =" false" >
105
- <intent-filter >
106
- <action android : name =" android.intent.action.MEDIA_BUTTON" />
107
- </intent-filter >
108
- </service >
109
-
110
117
<receiver android : name =" fr.gaulupeau.apps.Poche.ui.IconUnreadWidget" >
111
118
<intent-filter >
112
119
<action android : name =" android.appwidget.action.APPWIDGET_UPDATE" />
120
127
android : name =" fr.gaulupeau.apps.Poche.network.ConnectivityChangeReceiver"
121
128
android : enabled =" false" >
122
129
<intent-filter >
123
- <action android : name =" android.net.conn.CONNECTIVITY_CHANGE"
124
- tools : ignore =" BatteryLife" />
130
+ <action
131
+ android : name =" android.net.conn.CONNECTIVITY_CHANGE"
132
+ tools : ignore =" BatteryLife" />
125
133
</intent-filter >
126
134
</receiver >
127
135
<receiver
135
143
android : name =" fr.gaulupeau.apps.Poche.service.AlarmReceiver"
136
144
android : enabled =" false" />
137
145
146
+ <service
147
+ android : name =" fr.gaulupeau.apps.Poche.tts.TtsService"
148
+ android : exported =" false" >
149
+ <intent-filter >
150
+ <action android : name =" android.intent.action.MEDIA_BUTTON" />
151
+ </intent-filter >
152
+ </service >
138
153
<service
139
154
android : name =" fr.gaulupeau.apps.Poche.service.WallabagJobService"
140
- android : permission =" android.permission.BIND_JOB_SERVICE"
141
- android : exported =" true" />
142
-
155
+ android : exported =" true"
156
+ android : permission =" android.permission.BIND_JOB_SERVICE" />
143
157
<service
144
158
android : name =" fr.gaulupeau.apps.Poche.service.MainService"
145
159
android : exported =" false" />
146
-
147
160
<service
148
161
android : name =" fr.gaulupeau.apps.Poche.service.SecondaryService"
149
162
android : exported =" false" />
150
-
151
- <provider
152
- android : name =" androidx.core.content.FileProvider"
153
- android : authorities =" ${applicationId}.fileprovider"
154
- android : exported =" false"
155
- android : grantUriPermissions =" true" >
156
- <meta-data
157
- android : name =" android.support.FILE_PROVIDER_PATHS"
158
- android : resource =" @xml/provider_paths" />
159
- </provider >
160
163
</application >
164
+ <uses-permission android : name =" android.permission.RECEIVE_BOOT_COMPLETED" />
165
+ <uses-permission
166
+ android : name =" android.permission.WRITE_EXTERNAL_STORAGE"
167
+ android : maxSdkVersion =" 22" />
168
+ <uses-permission android : name =" android.permission.FOREGROUND_SERVICE" />
169
+ <uses-permission android : name =" android.permission.INTERNET" />
170
+
171
+ <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
161
172
162
- </manifest >
173
+ </manifest >
0 commit comments