Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / maps / src / main / AndroidManifest.xml
AndroidManifest.xml129 lines · 5.7 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | <uses-permission android:name="android.permission.INTERNET" /> |
| 4 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 5 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 6 | |
| 7 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 8 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" /> |
| 9 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" /> |
| 10 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 11 | <!-- Live Updates (API 36 ProgressStyle promoted ongoing): install-time, no runtime prompt. --> |
| 12 | <uses-permission android:name="android.permission.POST_PROMOTED_NOTIFICATIONS" /> |
| 13 | |
| 14 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 15 | |
| 16 | <uses-permission android:name="com.vayunmathur.findfamily.permissions.ACCESS_FAMILY" /> |
| 17 | |
| 18 | <uses-permission android:name="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> |
| 19 | |
| 20 | <uses-permission android:name="com.vayunmathur.taxi.permissions.ACCESS_RIDES" /> |
| 21 | |
| 22 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| 23 | <queries> |
| 24 | <intent> |
| 25 | <action android:name="android.speech.RecognitionService" /> |
| 26 | </intent> |
| 27 | <intent> |
| 28 | <action android:name="android.intent.action.PICK" /> |
| 29 | <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" /> |
| 30 | </intent> |
| 31 | <intent> |
| 32 | <action android:name="com.vayunmathur.findfamily.action.FAMILY_LOCATIONS" /> |
| 33 | </intent> |
| 34 | <package android:name="com.vayunmathur.fooddelivery" /> |
| 35 | <package android:name="com.vayunmathur.taxi" /> |
| 36 | </queries> |
| 37 | |
| 38 | <!-- Guards the exported DirectionsIntent so only same-signature installs (the taxi app) |
| 39 | can ask maps to plan a route. --> |
| 40 | <permission |
| 41 | android:name="com.vayunmathur.maps.permissions.ACCESS_MAPS" |
| 42 | android:protectionLevel="signature" /> |
| 43 | |
| 44 | |
| 45 | <application |
| 46 | android:allowBackup="true" |
| 47 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 48 | android:icon="@mipmap/ic_launcher" |
| 49 | android:label="@string/app_name" |
| 50 | android:roundIcon="@mipmap/ic_launcher" |
| 51 | android:supportsRtl="true" |
| 52 | android:theme="@style/Theme.General"> |
| 53 | <activity |
| 54 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 55 | android:name=".MainActivity" |
| 56 | android:exported="true" |
| 57 | android:launchMode="singleTop" |
| 58 | android:windowSoftInputMode="adjustResize" |
| 59 | android:theme="@style/Theme.General"> |
| 60 | <intent-filter> |
| 61 | <action android:name="android.intent.action.MAIN" /> |
| 62 | |
| 63 | <category android:name="android.intent.category.LAUNCHER" /> |
| 64 | </intent-filter> |
| 65 | |
| 66 | <intent-filter> |
| 67 | <action android:name="android.intent.action.VIEW" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | <category android:name="android.intent.category.BROWSABLE" /> |
| 70 | <data android:scheme="geo" /> |
| 71 | </intent-filter> |
| 72 | |
| 73 | <intent-filter> |
| 74 | <action android:name="android.intent.action.VIEW" /> |
| 75 | <category android:name="android.intent.category.DEFAULT" /> |
| 76 | <category android:name="android.intent.category.BROWSABLE" /> |
| 77 | <data android:scheme="google.navigation" /> |
| 78 | </intent-filter> |
| 79 | |
| 80 | <intent-filter android:autoVerify="false"> |
| 81 | <action android:name="android.intent.action.VIEW" /> |
| 82 | <category android:name="android.intent.category.DEFAULT" /> |
| 83 | <category android:name="android.intent.category.BROWSABLE" /> |
| 84 | <data android:scheme="https" /> |
| 85 | <data android:scheme="http" /> |
| 86 | <data android:host="www.google.com" android:pathPrefix="/maps" /> |
| 87 | <data android:host="google.com" android:pathPrefix="/maps" /> |
| 88 | <data android:host="maps.google.com" /> |
| 89 | <data android:host="maps.app.goo.gl" /> |
| 90 | <data android:host="goo.gl" android:pathPrefix="/maps" /> |
| 91 | </intent-filter> |
| 92 | </activity> |
| 93 | |
| 94 | <activity |
| 95 | android:name=".intents.DirectionsIntent" |
| 96 | android:exported="true" |
| 97 | android:theme="@android:style/Theme.NoDisplay" |
| 98 | android:permission="com.vayunmathur.maps.permissions.ACCESS_MAPS" /> |
| 99 | |
| 100 | <service |
| 101 | android:name=".util.NavigationService" |
| 102 | android:foregroundServiceType="location" |
| 103 | android:exported="false" /> |
| 104 | <service |
| 105 | android:name=".service.ReviewsScraperService" |
| 106 | android:process=":reviews" |
| 107 | android:exported="false" /> |
| 108 | |
| 109 | <service |
| 110 | android:name=".car.MapsCarAppService" |
| 111 | android:exported="true" |
| 112 | android:foregroundServiceType="location"> |
| 113 | <intent-filter> |
| 114 | <action android:name="androidx.car.app.CarAppService" /> |
| 115 | <category android:name="androidx.car.app.category.NAVIGATION" /> |
| 116 | <category android:name="androidx.car.app.category.POI" /> |
| 117 | </intent-filter> |
| 118 | </service> |
| 119 | |
| 120 | <meta-data |
| 121 | android:name="androidx.car.app.minCarApiLevel" |
| 122 | android:value="1" /> |
| 123 | |
| 124 | <meta-data |
| 125 | android:name="com.google.android.gms.car.application" |
| 126 | android:resource="@xml/automotive_app_desc" /> |
| 127 | </application> |
| 128 | |
| 129 | </manifest> |