Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / taxi / src / main / AndroidManifest.xml
AndroidManifest.xml67 lines · 2.8 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | |
| 4 | <uses-permission android:name="android.permission.INTERNET" /> |
| 5 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 6 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 7 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 8 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 9 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> |
| 10 | |
| 11 | <!-- WS-B: taxi's DirectionsClient launches maps' signature-guarded DirectionsIntent. --> |
| 12 | <uses-permission android:name="com.vayunmathur.maps.permissions.ACCESS_MAPS" /> |
| 13 | |
| 14 | <queries> |
| 15 | <package android:name="com.ubercab" /> |
| 16 | <package android:name="me.lyft.android" /> |
| 17 | <package android:name="com.vayunmathur.maps" /> |
| 18 | </queries> |
| 19 | |
| 20 | <permission |
| 21 | android:name="com.vayunmathur.taxi.permissions.ACCESS_RIDES" |
| 22 | android:protectionLevel="signature" /> |
| 23 | |
| 24 | <application |
| 25 | android:allowBackup="false" |
| 26 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 27 | android:icon="@mipmap/ic_launcher" |
| 28 | android:roundIcon="@mipmap/ic_launcher" |
| 29 | android:label="@string/app_name" |
| 30 | android:supportsRtl="true" |
| 31 | android:theme="@style/Theme.General"> |
| 32 | |
| 33 | <activity |
| 34 | android:name=".MainActivity" |
| 35 | android:exported="true" |
| 36 | android:launchMode="singleTop" |
| 37 | android:windowSoftInputMode="adjustResize" |
| 38 | android:theme="@style/Theme.General"> |
| 39 | <intent-filter> |
| 40 | <action android:name="android.intent.action.MAIN" /> |
| 41 | <category android:name="android.intent.category.LAUNCHER" /> |
| 42 | </intent-filter> |
| 43 | <intent-filter> |
| 44 | <action android:name="android.intent.action.VIEW" /> |
| 45 | <category android:name="android.intent.category.DEFAULT" /> |
| 46 | <category android:name="android.intent.category.BROWSABLE" /> |
| 47 | <data android:scheme="taxi" android:host="book" /> |
| 48 | </intent-filter> |
| 49 | </activity> |
| 50 | |
| 51 | <activity |
| 52 | android:name=".intents.RideEstimateIntent" |
| 53 | android:exported="true" |
| 54 | android:theme="@android:style/Theme.NoDisplay" |
| 55 | android:permission="com.vayunmathur.taxi.permissions.ACCESS_RIDES" /> |
| 56 | |
| 57 | <service |
| 58 | android:name=".notifications.RideTrackingService" |
| 59 | android:exported="false" |
| 60 | android:foregroundServiceType="specialUse"> |
| 61 | <property |
| 62 | android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" |
| 63 | android:value="ride_tracking" /> |
| 64 | </service> |
| 65 | </application> |
| 66 | |
| 67 | </manifest> |