Merge pull request #1674 from nextcloud/bumpMasterTo13

bump version to 13.0.0 Alpha 1
This commit is contained in:
Marcel Hibbe 2021-11-11 12:52:10 +01:00 committed by GitHub
commit 762124ea06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 5 deletions

View File

@ -44,8 +44,8 @@ android {
// mayor.minor.hotfix.increment (for increment: 01-50=Alpha / 51-89=RC / 90-99=stable)
// xx .xxx .xx .xx
versionCode 120030014
versionName "12.3.0 Alpha 14"
versionCode 130000001
versionName "13.0.0 Alpha 1"
flavorDimensions "default"
renderscriptTargetApi 19

View File

@ -192,4 +192,16 @@
</provider>
</application>
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="*/*" />
</intent>
<intent>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="*/*" />
</intent>
</queries>
</manifest>

View File

@ -371,9 +371,6 @@ public abstract class MagicPreviewMessageViewHolder extends MessageHolders.Incom
File file = new File(path);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(file), mimetype);
// TODO resolveActivity might need more permissions starting with android 11 (api 30)
// https://developer.android.com/about/versions/11/privacy/package-visibility
return intent.resolveActivity(context.getPackageManager()) != null;
}