|
2 | 2 | package="fr.free.nrw.commons"> |
3 | 3 |
|
4 | 4 | <uses-permission android:name="android.permission.INTERNET" /> |
5 | | - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
6 | | - <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/> |
7 | | - <uses-permission android:name="android.permission.READ_SYNC_STATS"/> |
8 | | - <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/> |
9 | | - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
| 5 | + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 6 | + <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
| 7 | + <uses-permission android:name="android.permission.READ_SYNC_STATS" /> |
| 8 | + <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
| 9 | + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
10 | 10 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
11 | | - <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/> |
12 | | - <uses-permission android:name="android.permission.GET_ACCOUNTS"/> |
13 | | - <uses-permission android:name="android.permission.USE_CREDENTIALS"/> |
14 | | - <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/> |
15 | | - <uses-permission android:name="android.permission.MANAGE_DOCUMENTS"/> |
16 | | - <uses-permission android:name="com.google.android.apps.photos.permission.GOOGLE_PHOTOS"/> |
| 11 | + <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> |
| 12 | + <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| 13 | + <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 14 | + <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
| 15 | + <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" /> |
| 16 | + <uses-permission android:name="com.google.android.apps.photos.permission.GOOGLE_PHOTOS" /> |
17 | 17 | <uses-permission android:name="android.permission.READ_LOGS"/> |
18 | 18 |
|
19 | 19 | <!-- Needed only if your app targets Android 5.0 (API level 21) or higher. --> |
|
32 | 32 | android:finishOnTaskLaunch="true" /> |
33 | 33 |
|
34 | 34 | <activity |
35 | | - android:name=".auth.LoginActivity" |
36 | | - > |
| 35 | + android:name="org.acra.CrashReportDialog" |
| 36 | + android:excludeFromRecents="true" |
| 37 | + android:finishOnTaskLaunch="true" |
| 38 | + android:launchMode="singleInstance" |
| 39 | + android:theme="@android:style/Theme.Dialog" /> |
| 40 | + |
| 41 | + <activity android:name=".auth.LoginActivity"> |
37 | 42 | <intent-filter> |
38 | | - <category android:name="android.intent.category.LAUNCHER"/> |
39 | | - <action android:name="android.intent.action.MAIN"/> |
| 43 | + <category android:name="android.intent.category.LAUNCHER" /> |
| 44 | + <action android:name="android.intent.action.MAIN" /> |
40 | 45 | </intent-filter> |
41 | 46 | </activity> |
42 | | - <activity |
43 | | - android:name=".WelcomeActivity" |
44 | | - > |
45 | | - </activity> |
| 47 | + |
| 48 | + <activity android:name=".WelcomeActivity" /> |
| 49 | + |
46 | 50 | <activity |
47 | 51 | android:name=".upload.ShareActivity" |
48 | 52 | android:icon="@drawable/ic_launcher" |
49 | | - android:label="@string/app_name" |
50 | | - > |
| 53 | + android:label="@string/app_name"> |
51 | 54 | <intent-filter> |
52 | 55 | <action android:name="android.intent.action.SEND" /> |
53 | 56 | <category android:name="android.intent.category.DEFAULT" /> |
54 | 57 | <data android:mimeType="image/*" /> |
55 | 58 | <data android:mimeType="audio/ogg" /> |
56 | 59 | </intent-filter> |
57 | 60 | </activity> |
| 61 | + |
58 | 62 | <activity |
59 | | - android:name=".upload.MultipleShareActivity" |
60 | | - android:icon="@drawable/ic_launcher" |
61 | | - android:label="@string/app_name" |
62 | | - > |
| 63 | + android:name=".upload.MultipleShareActivity" |
| 64 | + android:icon="@drawable/ic_launcher" |
| 65 | + android:label="@string/app_name"> |
63 | 66 | <intent-filter> |
64 | 67 | <action android:name="android.intent.action.SEND_MULTIPLE" /> |
65 | 68 | <category android:name="android.intent.category.DEFAULT" /> |
|
69 | 72 | </activity> |
70 | 73 |
|
71 | 74 | <activity |
72 | | - android:name=".contributions.ContributionsActivity" |
73 | | - android:icon="@drawable/ic_launcher" |
74 | | - android:label="@string/app_name" |
75 | | - > |
76 | | - </activity> |
| 75 | + android:name=".contributions.ContributionsActivity" |
| 76 | + android:icon="@drawable/ic_launcher" |
| 77 | + android:label="@string/app_name" /> |
| 78 | + |
77 | 79 | <activity |
78 | 80 | android:name=".settings.SettingsActivity" |
79 | | - android:label="@string/title_activity_settings" |
80 | | - /> |
| 81 | + android:label="@string/title_activity_settings" /> |
| 82 | + |
81 | 83 | <activity |
82 | 84 | android:name=".AboutActivity" |
83 | 85 | android:label="@string/title_activity_about" |
84 | 86 | android:parentActivityName=".contributions.ContributionsActivity" /> |
| 87 | + |
85 | 88 | <activity |
86 | 89 | android:name=".auth.SignupActivity" |
87 | | - android:label="@string/title_activity_signup"/> |
| 90 | + android:label="@string/title_activity_signup" /> |
| 91 | + |
88 | 92 | <activity |
89 | 93 | android:name=".nearby.NearbyActivity" |
90 | 94 | android:label="@string/title_activity_nearby" |
91 | 95 | android:parentActivityName=".contributions.ContributionsActivity" /> |
92 | 96 |
|
93 | | - <service android:name=".upload.UploadService" > |
94 | | - </service> |
| 97 | + <service android:name=".upload.UploadService" /> |
| 98 | + |
95 | 99 | <service |
96 | 100 | android:name=".auth.WikiAccountAuthenticatorService" |
97 | 101 | android:exported="true" |
98 | | - android:process=":auth" > |
| 102 | + android:process=":auth"> |
99 | 103 | <intent-filter> |
100 | 104 | <action android:name="android.accounts.AccountAuthenticator" /> |
101 | 105 | </intent-filter> |
|
106 | 110 | </service> |
107 | 111 |
|
108 | 112 | <service |
109 | | - android:name=".contributions.ContributionsSyncService" |
110 | | - android:exported="true"> |
| 113 | + android:name=".contributions.ContributionsSyncService" |
| 114 | + android:exported="true"> |
111 | 115 | <intent-filter> |
112 | | - <action |
113 | | - android:name="android.content.SyncAdapter" /> |
| 116 | + <action android:name="android.content.SyncAdapter" /> |
114 | 117 | </intent-filter> |
115 | 118 | <meta-data |
116 | | - android:name="android.content.SyncAdapter" |
117 | | - android:resource="@xml/contributions_sync_adapter" /> |
| 119 | + android:name="android.content.SyncAdapter" |
| 120 | + android:resource="@xml/contributions_sync_adapter" /> |
118 | 121 | </service> |
119 | 122 |
|
120 | 123 | <service |
121 | | - android:name=".modifications.ModificationsSyncService" |
122 | | - android:exported="true"> |
| 124 | + android:name=".modifications.ModificationsSyncService" |
| 125 | + android:exported="true"> |
123 | 126 | <intent-filter> |
124 | | - <action |
125 | | - android:name="android.content.SyncAdapter" /> |
| 127 | + <action android:name="android.content.SyncAdapter" /> |
126 | 128 | </intent-filter> |
127 | 129 | <meta-data |
128 | | - android:name="android.content.SyncAdapter" |
129 | | - android:resource="@xml/modifications_sync_adapter" /> |
| 130 | + android:name="android.content.SyncAdapter" |
| 131 | + android:resource="@xml/modifications_sync_adapter" /> |
130 | 132 | </service> |
131 | 133 |
|
132 | 134 | <provider |
|
136 | 138 | android:grantUriPermissions="true"> |
137 | 139 | <meta-data |
138 | 140 | android:name="android.support.FILE_PROVIDER_PATHS" |
139 | | - android:resource="@xml/provider_paths"/> |
| 141 | + android:resource="@xml/provider_paths" /> |
140 | 142 | </provider> |
141 | 143 |
|
142 | 144 | <provider |
143 | | - android:name=".contributions.ContributionsContentProvider" |
144 | | - android:label="@string/provider_contributions" |
145 | | - android:syncable="true" |
146 | | - android:authorities="fr.free.nrw.commons.contributions.contentprovider" |
147 | | - android:exported="false"> |
148 | | - </provider> |
| 145 | + android:name=".contributions.ContributionsContentProvider" |
| 146 | + android:authorities="fr.free.nrw.commons.contributions.contentprovider" |
| 147 | + android:exported="false" |
| 148 | + android:label="@string/provider_contributions" |
| 149 | + android:syncable="true" /> |
149 | 150 |
|
150 | 151 | <provider |
151 | | - android:name=".modifications.ModificationsContentProvider" |
152 | | - android:label="@string/provider_modifications" |
153 | | - android:syncable="true" |
154 | | - android:authorities="fr.free.nrw.commons.modifications.contentprovider" |
155 | | - android:exported="false"> |
156 | | - </provider> |
| 152 | + android:name=".modifications.ModificationsContentProvider" |
| 153 | + android:authorities="fr.free.nrw.commons.modifications.contentprovider" |
| 154 | + android:exported="false" |
| 155 | + android:label="@string/provider_modifications" |
| 156 | + android:syncable="true" /> |
| 157 | + |
157 | 158 | <provider |
158 | | - android:name=".category.CategoryContentProvider" |
159 | | - android:label="@string/provider_categories" |
160 | | - android:syncable="false" |
161 | | - android:authorities="fr.free.nrw.commons.categories.contentprovider" |
162 | | - android:exported="false"> |
163 | | - </provider> |
| 159 | + android:name=".category.CategoryContentProvider" |
| 160 | + android:authorities="fr.free.nrw.commons.categories.contentprovider" |
| 161 | + android:exported="false" |
| 162 | + android:label="@string/provider_categories" |
| 163 | + android:syncable="false" /> |
164 | 164 |
|
165 | 165 | </application> |
166 | 166 |
|
|
0 commit comments