Fix issues on Android 11 (#3067)
Add <queries> tag in manifest to be able to open file using external app and to use full feature of CustomTab
This commit is contained in:
parent
8b5d86f68d
commit
9cb19c0581
|
@ -12,6 +12,7 @@ Bugfix 🐛:
|
||||||
- Fix exception in rxSingle (#3180)
|
- Fix exception in rxSingle (#3180)
|
||||||
- Do not invite the current user when creating a room (#3123)
|
- Do not invite the current user when creating a room (#3123)
|
||||||
- Fix color issues when the system theme is changed (#2738)
|
- Fix color issues when the system theme is changed (#2738)
|
||||||
|
- Fix issues on Android 11 (#3067)
|
||||||
|
|
||||||
Translations 🗣:
|
Translations 🗣:
|
||||||
-
|
-
|
||||||
|
|
|
@ -48,6 +48,22 @@
|
||||||
android:name="android.hardware.camera.autofocus"
|
android:name="android.hardware.camera.autofocus"
|
||||||
android:required="false" />
|
android:required="false" />
|
||||||
|
|
||||||
|
<!-- Since Android 11, see https://developer.android.com/training/package-visibility -->
|
||||||
|
<queries>
|
||||||
|
<!-- To open URL in CustomTab (prefetch, etc.). It makes CustomTabsClient.getPackageName() work
|
||||||
|
see https://developer.android.com/training/package-visibility/use-cases#open-urls-custom-tabs -->
|
||||||
|
<intent>
|
||||||
|
<action android:name="android.support.customtabs.action.CustomTabsService" />
|
||||||
|
</intent>
|
||||||
|
|
||||||
|
<!-- The app can open attachments of any mime type
|
||||||
|
see https://developer.android.com/training/package-visibility/use-cases#open-a-file -->
|
||||||
|
<intent>
|
||||||
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
<data android:mimeType="*/*" />
|
||||||
|
</intent>
|
||||||
|
</queries>
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:name=".VectorApplication"
|
android:name=".VectorApplication"
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
|
|
Loading…
Reference in New Issue