Import from intent: also match file suffix as fallback.

This commit is contained in:
Dennis Guse
2020-07-17 21:16:44 +02:00
parent bf9b6d6627
commit 93ee8a53ed
+15 -11
View File
@@ -75,38 +75,42 @@ limitations under the License.
<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" />
<data
android:host="*"
android:mimeType="*/*"
android:pathPattern="*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" />
<data
android:host="*"
android:mimeType="*/*"
android:pathPattern="*kml" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="*"
android:mimeType="application/gpx+xml" />
<data
android:host="*"
android:mimeType="*/*"
android:pathPattern=".*\\.kmz"
android:scheme="file" />
android:pathPattern="*gpx" />
</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=".MarkerDetailActivity" />