AndroidManifest.xml: Reformat.

This commit is contained in:
Andreas Schildbach 2019-10-26 22:18:39 +02:00
parent 4a95ab8bee
commit 7a338bd849

View file

@ -17,10 +17,9 @@
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="de.schildbach.oeffi" package="de.schildbach.oeffi"
android:versionCode="663" android:versionCode="663"
android:versionName="11.1.1" > android:versionName="11.1.1">
<uses-sdk <uses-sdk
android:minSdkVersion="19" android:minSdkVersion="19"
@ -46,7 +45,6 @@
<uses-feature <uses-feature
android:name="android.hardware.location.network" android:name="android.hardware.location.network"
android:required="false" /> android:required="false" />
<supports-screens <supports-screens
android:anyDensity="true" android:anyDensity="true"
android:largeScreens="true" android:largeScreens="true"
@ -60,13 +58,13 @@
android:icon="@mipmap/ic_oeffi_stations_color_48dp" android:icon="@mipmap/ic_oeffi_stations_color_48dp"
android:label="@string/app_name" android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config" android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/My.Theme.Light" > android:theme="@style/My.Theme.Light">
<provider <provider
android:name="androidx.core.content.FileProvider" android:name="androidx.core.content.FileProvider"
android:authorities="de.schildbach.oeffi" android:authorities="de.schildbach.oeffi"
android:exported="false" android:exported="false"
android:grantUriPermissions="true" > android:grantUriPermissions="true">
<meta-data <meta-data
android:name="android.support.FILE_PROVIDER_PATHS" android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_provider" /> android:resource="@xml/file_provider" />
@ -76,39 +74,36 @@
android:name=".preference.PreferenceActivity" android:name=".preference.PreferenceActivity"
android:theme="@style/My.Theme.Preference" android:theme="@style/My.Theme.Preference"
android:label="@string/global_options_preferences_title" /> android:label="@string/global_options_preferences_title" />
<activity <activity
android:name=".network.NetworkPickerActivity" android:name=".network.NetworkPickerActivity"
android:configChanges="orientation|screenSize|keyboard|keyboardHidden" android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
android:label="@string/network_picker_activity_title" /> android:label="@string/network_picker_activity_title" />
<activity <activity
android:name=".stations.StationsActivity" android:name=".stations.StationsActivity"
android:configChanges="orientation|screenSize|keyboard|keyboardHidden" android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
android:label="@string/stations_icon_label" android:label="@string/stations_icon_label"
android:launchMode="singleTop" android:launchMode="singleTop"
android:taskAffinity="de.schildbach.oeffi.stations" > android:taskAffinity="de.schildbach.oeffi.stations">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEARCH" /> <action android:name="android.intent.action.SEARCH" />
</intent-filter> </intent-filter>
<!-- thrown by google maps when starting navigation --> <!-- thrown by google maps when starting navigation -->
<intent-filter android:label="@string/stations_intentfilter_title" > <intent-filter android:label="@string/stations_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:scheme="google.navigation" /> <data android:scheme="google.navigation" />
</intent-filter> </intent-filter>
<!-- thrown by google now gesture --> <!-- thrown by google now gesture -->
<intent-filter android:label="@string/stations_intentfilter_title" > <intent-filter android:label="@string/stations_intentfilter_title">
<action android:name="android.intent.action.ASSIST" /> <action android:name="android.intent.action.ASSIST" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
</intent-filter> </intent-filter>
<meta-data <meta-data
android:name="android.app.default_searchable" android:name="android.app.default_searchable"
android:value=".stations.StationsActivity" /> android:value=".stations.StationsActivity" />
@ -116,128 +111,111 @@
android:name="android.app.searchable" android:name="android.app.searchable"
android:resource="@xml/stations_searchable" /> android:resource="@xml/stations_searchable" />
</activity> </activity>
<activity <activity
android:name=".stations.StationDetailsActivity" android:name=".stations.StationDetailsActivity"
android:configChanges="orientation|screenSize|keyboard|keyboardHidden" android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
android:label="@string/station_details_activity_title" android:label="@string/station_details_activity_title"
android:taskAffinity="de.schildbach.oeffi.stations" > android:taskAffinity="de.schildbach.oeffi.stations">
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<data android:host="oeffi.schildbach.de" /> <data android:host="oeffi.schildbach.de" />
<data android:pathPrefix="/station/" /> <data android:pathPrefix="/station/" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:host="qr.bvg.de" /> <data android:host="qr.bvg.de" />
<data android:pathPrefix="/h" /> <data android:pathPrefix="/h" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:host="mobil.s-bahn-berlin.de" /> <data android:host="mobil.s-bahn-berlin.de" />
<data android:path="/" /> <data android:path="/" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:host="wap.rmv.de" /> <data android:host="wap.rmv.de" />
<data android:pathPrefix="/mobil/tag/request.do" /> <data android:pathPrefix="/mobil/tag/request.do" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:host="m.vrn.de" /> <data android:host="m.vrn.de" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:host="www.mvg-live.de" /> <data android:host="www.mvg-live.de" />
<data android:pathPrefix="/qr" /> <data android:pathPrefix="/qr" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:host="www.rheinbahn.de" /> <data android:host="www.rheinbahn.de" />
<data android:pathPrefix="/QRBarcode/HS" /> <data android:pathPrefix="/QRBarcode/HS" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:host="mobil.vvs.de" /> <data android:host="mobil.vvs.de" />
<data android:pathPrefix="/mob/DMR" /> <data android:pathPrefix="/mob/DMR" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:host="m.qando.at" /> <data android:host="m.qando.at" />
<data android:pathPrefix="/qr" /> <data android:pathPrefix="/qr" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name=".stations.DecodeForeignActivity" android:name=".stations.DecodeForeignActivity"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:taskAffinity="de.schildbach.oeffi.stations" android:taskAffinity="de.schildbach.oeffi.stations"
android:theme="@style/My.Theme.Translucent" > android:theme="@style/My.Theme.Translucent">
<intent-filter android:label="@string/stations_station_details_intentfilter_title" > <intent-filter android:label="@string/stations_station_details_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:host="www.rmv.de" /> <data android:host="www.rmv.de" />
<data android:pathPrefix="/t/d" /> <data android:pathPrefix="/t/d" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name=".stations.FavoriteStationsActivity" android:name=".stations.FavoriteStationsActivity"
android:label="@string/stations_favorite_stations_title" android:label="@string/stations_favorite_stations_title"
@ -247,6 +225,7 @@
android:name=".stations.NetworkContentProvider" android:name=".stations.NetworkContentProvider"
android:authorities="de.schildbach.oeffi.networks" android:authorities="de.schildbach.oeffi.networks"
android:exported="false" /> android:exported="false" />
<provider <provider
android:name=".stations.FavoriteStationsProvider" android:name=".stations.FavoriteStationsProvider"
android:authorities="de.schildbach.oeffi.stations.favorites" android:authorities="de.schildbach.oeffi.stations.favorites"
@ -254,11 +233,10 @@
<receiver <receiver
android:name=".stations.NearestFavoriteStationWidgetProvider" android:name=".stations.NearestFavoriteStationWidgetProvider"
android:label="@string/nearest_favorite_station_widget_label" > android:label="@string/nearest_favorite_station_widget_label">
<intent-filter> <intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter> </intent-filter>
<meta-data <meta-data
android:name="android.appwidget.provider" android:name="android.appwidget.provider"
android:resource="@xml/nearest_favorite_station_widget" /> android:resource="@xml/nearest_favorite_station_widget" />
@ -268,6 +246,7 @@
android:name=".stations.NearestFavoriteStationWidgetService" android:name=".stations.NearestFavoriteStationWidgetService"
android:permission="android.permission.BIND_JOB_SERVICE" android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="false" /> android:exported="false" />
<service <service
android:name=".stations.NearestFavoriteStationWidgetListService" android:name=".stations.NearestFavoriteStationWidgetListService"
android:exported="false" android:exported="false"
@ -279,35 +258,28 @@
android:icon="@mipmap/ic_oeffi_directions_color_48dp" android:icon="@mipmap/ic_oeffi_directions_color_48dp"
android:label="@string/directions_icon_label" android:label="@string/directions_icon_label"
android:taskAffinity="de.schildbach.oeffi.directions" android:taskAffinity="de.schildbach.oeffi.directions"
android:windowSoftInputMode="stateHidden" > android:windowSoftInputMode="stateHidden">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
<!-- thrown by google calendar for contacts, and qype radar --> <!-- thrown by google calendar for contacts, and qype radar -->
<intent-filter android:label="@string/directions_intentfilter_title" > <intent-filter android:label="@string/directions_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:scheme="geo" /> <data android:scheme="geo" />
</intent-filter> </intent-filter>
<!-- thrown by google maps when starting navigation --> <!-- thrown by google maps when starting navigation -->
<intent-filter android:label="@string/directions_intentfilter_title" > <intent-filter android:label="@string/directions_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:scheme="google.navigation" /> <data android:scheme="google.navigation" />
</intent-filter> </intent-filter>
<!-- thrown by google now, and google calendar for plain addresses --> <!-- thrown by google now, and google calendar for plain addresses -->
<intent-filter android:label="@string/directions_intentfilter_title" > <intent-filter android:label="@string/directions_intentfilter_title">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
<data android:host="maps.google.com" /> <data android:host="maps.google.com" />
@ -506,21 +478,24 @@
<data android:pathPrefix="/" /> <data android:pathPrefix="/" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name=".directions.TripsOverviewActivity" android:name=".directions.TripsOverviewActivity"
android:configChanges="orientation|screenSize|keyboard|keyboardHidden" android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
android:taskAffinity="de.schildbach.oeffi.directions" android:taskAffinity="de.schildbach.oeffi.directions"
android:theme="@style/My.Theme.Dark" /> android:theme="@style/My.Theme.Dark" />
<activity <activity
android:name=".directions.TripDetailsActivity" android:name=".directions.TripDetailsActivity"
android:configChanges="orientation|screenSize|keyboard|keyboardHidden" android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
android:label="@string/trip_details_title" android:label="@string/trip_details_title"
android:taskAffinity="de.schildbach.oeffi.directions" /> android:taskAffinity="de.schildbach.oeffi.directions" />
<activity <activity
android:name=".directions.DirectionsShortcutActivity" android:name=".directions.DirectionsShortcutActivity"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:taskAffinity="de.schildbach.oeffi.directions" android:taskAffinity="de.schildbach.oeffi.directions"
android:theme="@style/My.Theme.Translucent" > android:theme="@style/My.Theme.Translucent">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
</intent-filter> </intent-filter>
@ -537,16 +512,14 @@
android:icon="@mipmap/ic_oeffi_plans_color_48dp" android:icon="@mipmap/ic_oeffi_plans_color_48dp"
android:label="@string/plans_icon_label" android:label="@string/plans_icon_label"
android:launchMode="singleTop" android:launchMode="singleTop"
android:taskAffinity="de.schildbach.oeffi.plans" > android:taskAffinity="de.schildbach.oeffi.plans">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEARCH" /> <action android:name="android.intent.action.SEARCH" />
</intent-filter> </intent-filter>
<meta-data <meta-data
android:name="android.app.default_searchable" android:name="android.app.default_searchable"
android:value=".plans.PlansPickerActivity" /> android:value=".plans.PlansPickerActivity" />
@ -554,16 +527,16 @@
android:name="android.app.searchable" android:name="android.app.searchable"
android:resource="@xml/plans_searchable" /> android:resource="@xml/plans_searchable" />
</activity> </activity>
<activity <activity
android:name=".plans.PlanActivity" android:name=".plans.PlanActivity"
android:configChanges="orientation|screenSize|keyboard|keyboardHidden" android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
android:launchMode="singleTop" android:launchMode="singleTop"
android:taskAffinity="de.schildbach.oeffi.plans" android:taskAffinity="de.schildbach.oeffi.plans"
android:theme="@style/My.Theme.Fullscreen" > android:theme="@style/My.Theme.Fullscreen">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEARCH" /> <action android:name="android.intent.action.SEARCH" />
</intent-filter> </intent-filter>
<meta-data <meta-data
android:name="android.app.default_searchable" android:name="android.app.default_searchable"
android:value=".plans.PlanActivity" /> android:value=".plans.PlanActivity" />