75 lines
2.2 KiB
XML
75 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.microg.nlp">
|
|
|
|
<uses-sdk android:minSdkVersion="9" />
|
|
|
|
<application
|
|
android:icon="@drawable/nlp_app_icon"
|
|
android:label="@string/nlp_app_name">
|
|
<uses-library
|
|
android:name="com.android.location.provider"
|
|
android:required="false" />
|
|
|
|
<!-- Gingerbread / Ice Cream Sandwich -->
|
|
<service
|
|
android:name="org.microg.nlp.location.LocationServiceV1"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="com.google.android.location.NetworkLocationProvider" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="serviceVersion"
|
|
android:value="1" />
|
|
<meta-data
|
|
android:name="version"
|
|
android:value="1" />
|
|
</service>
|
|
|
|
<!-- Jelly Bean / KitKat -->
|
|
<service
|
|
android:name="org.microg.nlp.location.LocationServiceV2"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<!-- KitKat changed the action name but nothing else, hence we handle it the same -->
|
|
<action android:name="com.android.location.service.v3.NetworkLocationProvider" />
|
|
<action android:name="com.android.location.service.v2.NetworkLocationProvider" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="serviceVersion"
|
|
android:value="2" />
|
|
<meta-data
|
|
android:name="serviceIsMultiuser"
|
|
android:value="false" />
|
|
</service>
|
|
|
|
<service
|
|
android:name="org.microg.nlp.geocode.GeocodeServiceV1"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<!-- Jelly Bean changed the action name but nothing else, hence we handle it the same -->
|
|
<action android:name="com.android.location.service.GeocodeProvider" />
|
|
<action android:name="com.google.android.location.GeocodeProvider" />
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
android:name="serviceVersion"
|
|
android:value="2" />
|
|
<meta-data
|
|
android:name="serviceIsMultiuser"
|
|
android:value="false" />
|
|
</service>
|
|
|
|
<activity
|
|
android:name="org.microg.nlp.ui.LocationBackendConfig"
|
|
android:theme="@android:style/Theme.DeviceDefault.Light">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|