Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AndroidManifest.xml « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba12b0d2c85d1f6ecf6334681ffc5a105396b41a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<?xml version="1.0" encoding="utf-8"?>
<manifest
    package="com.mapswithme.maps"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:installLocation="auto"
    android:sharedUserId="com.mapswithme"
    android:sharedUserLabel="@string/shared_user_label">

  <uses-feature
      android:glEsVersion="0x00020000"
      android:required="true"/>
  <uses-feature
      android:name="android.hardware.touchscreen"
      android:required="true"/>
  <uses-feature
      android:name="android.hardware.wifi"
      android:required="false"/>
  <uses-feature
      android:name="android.hardware.location"
      android:required="false"/>
  <uses-feature
      android:name="android.hardware.location.network"
      android:required="false"/>
  <uses-feature
      android:name="android.hardware.location.gps"
      android:required="false"/>

  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
  <uses-permission android:name="android.permission.INTERNET"/>
  <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
  <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
  <uses-permission android:name="android.permission.WAKE_LOCK"/>

  <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
  <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
  <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>

  <permission
      android:name="${applicationId}.permission.C2D_MESSAGE"
      android:protectionLevel="signature"/>

  <uses-permission android:name="${applicationId}.permission.C2D_MESSAGE"/>

  <!-- -->
  <supports-screens
      android:largeScreens="true"
      android:xlargeScreens="true"/>

  <application
      android:name=".MwmApplication"
      android:allowBackup="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/MwmTheme"
      tools:ignore="UnusedAttribute">

    <meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version"/>

    <meta-data
        android:name="com.facebook.sdk.ApplicationId"
        android:value="@string/fb_app_id"/>

    <meta-data
        android:name="com.parse.push.notification_icon"
        android:resource="@drawable/ic_notification"/>

    <activity
        android:name="com.mapswithme.maps.DownloadResourcesActivity"
        android:configChanges="orientation|screenLayout|screenSize"
        android:label="@string/app_name">

      <intent-filter>
        <action android:name="android.intent.action.MAIN"/>
        <category android:name="android.intent.category.LAUNCHER"/>
      </intent-filter>

      <!-- standard "geo" scheme -->
      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>

        <category android:name="android.intent.category.DEFAULT"/>
        <category android:name="android.intent.category.BROWSABLE"/>

        <data android:scheme="geo"/>
      </intent-filter>

      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>

        <category android:name="android.intent.category.DEFAULT"/>
        <category android:name="android.intent.category.BROWSABLE"/>

        <data android:scheme="ge0"/>
      </intent-filter>

      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>

        <category android:name="android.intent.category.DEFAULT"/>
        <category android:name="android.intent.category.BROWSABLE"/>

        <data
            android:host="ge0.me"
            android:scheme="http"/>
      </intent-filter>

      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>

        <category android:name="android.intent.category.DEFAULT"/>
        <category android:name="android.intent.category.BROWSABLE"/>

        <data
            android:host="maps.google.com"
            android:scheme="https"/>
        <data
            android:host="maps.google.com"
            android:scheme="http"/>
      </intent-filter>

      <!-- API CALL -->
      <intent-filter>
        <action android:name="com.mapswithme.maps.api.request"/>
        <category android:name="android.intent.category.DEFAULT"/>
      </intent-filter>

      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>
        <category android:name="android.intent.category.DEFAULT"/>
        <data
            android:host="*"
            android:mimeType="application/vnd.google-earth.kmz"/>
      </intent-filter>

      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>
        <category android:name="android.intent.category.DEFAULT"/>
        <data
            android:host="*"
            android:mimeType="application/vnd.google-earth.kml+xml"/>
      </intent-filter>

      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>
        <category android:name="android.intent.category.DEFAULT"/>
        <data
            android:host="*"
            android:mimeType="*/*"
            android:pathPattern=".*\\.kmz"
            android:scheme="file"/>
      </intent-filter>

      <intent-filter>
        <action android:name="android.intent.action.VIEW"/>
        <category android:name="android.intent.category.DEFAULT"/>
        <data
            android:host="*"
            android:mimeType="*/*"
            android:pathPattern=".*\\.kml"
            android:scheme="file"/>
      </intent-filter>

    </activity>

    <activity
        android:name="com.mapswithme.maps.MwmActivity"
        android:launchMode="singleTask"
        android:theme="@style/MwmTheme.Map"
        android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
    </activity>

    <activity
        android:name="com.mapswithme.country.DownloadActivity"
        android:configChanges="orientation|screenLayout|screenSize"
        android:label="@string/download_maps"
        android:parentActivityName="com.mapswithme.maps.MwmActivity">
      <!-- The meta-data element is needed for versions lower than 4.1 -->
      <meta-data
          android:name="android.support.PARENT_ACTIVITY"
          android:value="com.mapswithme.maps.MwmActivity"/>
    </activity>

    <activity
        android:name="com.mapswithme.maps.search.SearchActivity"
        android:configChanges="orientation|screenLayout|screenSize"
        android:label="@string/search_map"
        android:parentActivityName="com.mapswithme.maps.MwmActivity"
        android:windowSoftInputMode="stateVisible|adjustResize">
      <!-- The meta-data element is needed for versions lower than 4.1 -->
      <meta-data
          android:name="android.support.PARENT_ACTIVITY"
          android:value="com.mapswithme.maps.MwmActivity"/>
    </activity>

    <activity
        android:name="com.mapswithme.maps.settings.SettingsActivity"
        android:configChanges="orientation|screenLayout|screenSize"
        android:label="@string/settings_and_more"
        android:parentActivityName="com.mapswithme.maps.MwmActivity">
      <!-- The meta-data element is needed for versions lower than 4.1 -->
      <meta-data
          android:name="android.support.PARENT_ACTIVITY"
          android:value="com.mapswithme.maps.MwmActivity"/>
    </activity>

    <activity
        android:name="com.mapswithme.maps.settings.StoragePathActivity"
        android:configChanges="orientation|screenLayout|screenSize"
        android:label="@string/maps_storage"
        android:parentActivityName="com.mapswithme.maps.MwmActivity">
      <!-- The meta-data element is needed for versions lower than 4.1 -->
      <meta-data
          android:name="android.support.PARENT_ACTIVITY"
          android:value="com.mapswithme.maps.MwmActivity"/>
    </activity>

    <activity
        android:name="com.mapswithme.maps.bookmarks.ChooseBookmarkCategoryActivity"
        android:configChanges="orientation|screenLayout|screenSize"
        android:label="@string/bookmark_sets"
        android:theme="@style/MwmTheme.Light"
        android:windowSoftInputMode="stateUnspecified|adjustResize">
    </activity>

    <activity
        android:name="com.mapswithme.maps.bookmarks.BookmarkCategoriesActivity"
        android:configChanges="orientation|screenLayout|screenSize"
        android:label="@string/bookmarks"
        android:parentActivityName="com.mapswithme.maps.MwmActivity">
      <!-- The meta-data element is needed for versions lower than 4.1 -->
      <meta-data
          android:name="android.support.PARENT_ACTIVITY"
          android:value="com.mapswithme.maps.MwmActivity"/>
    </activity>

    <activity
        android:name="com.mapswithme.maps.bookmarks.BookmarkListActivity"
        android:configChanges="orientation|screenLayout|screenSize"
        android:label="@string/bookmarks"
        android:parentActivityName="com.mapswithme.maps.bookmarks.BookmarkCategoriesActivity">
      <!-- The meta-data element is needed for versions lower than 4.1 -->
      <meta-data
          android:name="android.support.PARENT_ACTIVITY"
          android:value="com.mapswithme.maps.bookmarks.BookmarkCategoriesActivity"/>
    </activity>

    <!-- facebook -->
    <activity
        android:name="com.facebook.FacebookActivity"
        android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize"
        android:theme="@android:style/Theme.Translucent.NoTitleBar"/>

    <receiver
        android:name="com.mapswithme.maps.background.ConnectivityChangedReceiver"
        android:enabled="true"
        android:exported="true">
      <intent-filter>
        <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
      </intent-filter>
    </receiver>

    <service
        android:name="com.mapswithme.maps.background.WorkerService"
        android:exported="false">
    </service>

    <!-- our custom receiver, that will call Aloha & other handlers -->
    <receiver
        android:name="com.mapswithme.util.MultipleTrackerReferrerReceiver"
        android:exported="true">
      <intent-filter>
        <action android:name="com.android.vending.INSTALL_REFERRER"/>
      </intent-filter>
    </receiver>

    <!-- myTracker
         IMPORTANT : we DON'T declare myTracker's broadcast receiver for INSTALL_REFERRER intent, cause we catch it in our custom
         MultipleTrackerReferrerReceiver and then pass it manually to myTracker's one. -->
    <service android:name="ru.mail.android.mytracker.campaign.CampaignService"/>

    <!-- Alohalytics -->
    <receiver
        android:name="org.alohalytics.ConnectivityChangedReceiver"
        android:enabled="true"
        android:exported="true">
      <intent-filter>
        <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
      </intent-filter>
    </receiver>

    <!-- Parse -->
    <service android:name="com.parse.PushService"/>

    <receiver android:name="com.parse.ParseBroadcastReceiver">
      <intent-filter>
        <action android:name="android.intent.action.BOOT_COMPLETED"/>
        <action android:name="android.intent.action.USER_PRESENT"/>
      </intent-filter>
    </receiver>
    <receiver
        android:name="com.parse.ParsePushBroadcastReceiver"
        android:exported="false">
      <intent-filter>
        <action android:name="com.parse.push.intent.RECEIVE"/>
        <action android:name="com.parse.push.intent.DELETE"/>
        <action android:name="com.parse.push.intent.OPEN"/>
      </intent-filter>
    </receiver>
    <receiver
        android:name="com.parse.GcmBroadcastReceiver"
        android:permission="com.google.android.c2dm.permission.SEND">
      <intent-filter>
        <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
        <action android:name="com.google.android.c2dm.intent.REGISTRATION"/>

        <category android:name="${applicationId}"/>
      </intent-filter>
    </receiver>

    <!-- Catches app upgraded intent.
         Different receivers are used due to MY_PACKAGE_REPLACED was added in Honeycomb_MR1-->
    <receiver android:name=".background.UpgradeReceiver"
              android:enabled="@bool/isNewerThanHoneycombMr1">
      <intent-filter>
        <action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
      </intent-filter>
    </receiver>

    <receiver android:name=".background.UpgradeReceiverCompat"
              android:enabled="@bool/isOlderThanHoneycombMr1">
      <intent-filter>
        <action android:name="android.intent.action.PACKAGE_REPLACED"/>

        <data android:scheme="package"/>
      </intent-filter>
    </receiver>

  </application>

</manifest>