[gplay-release] Remove REQUEST_INSTALL_PACKAGES permission

Change-Id: I92bab7da7dd9d4dd8b0f6e946b786271674609e3
This commit is contained in:
SpiritCroc 2022-08-09 15:30:56 +02:00
parent 761cf48183
commit 1cf4fa8bb7
2 changed files with 3 additions and 1 deletions

View file

@ -32,7 +32,9 @@
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<!-- To be able to install APK from the application --> <!-- To be able to install APK from the application -->
<!--
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
-->
<!-- Jitsi libs adds CALENDAR permissions, but we can remove them safely according to https://github.com/jitsi/jitsi-meet/issues/4068#issuecomment-480482481 --> <!-- Jitsi libs adds CALENDAR permissions, but we can remove them safely according to https://github.com/jitsi/jitsi-meet/issues/4068#issuecomment-480482481 -->
<uses-permission <uses-permission

View file

@ -915,7 +915,7 @@ class TimelineFragment @Inject constructor(
} }
private fun startOpenFileIntent(action: RoomDetailViewEvents.OpenFile) { private fun startOpenFileIntent(action: RoomDetailViewEvents.OpenFile) {
if (action.mimeType == MimeTypes.Apk) { if (false && action.mimeType == MimeTypes.Apk) {
installApk(action) installApk(action)
} else { } else {
openFile(action) openFile(action)