mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 10:25:51 +03:00
[gplay-release] Remove REQUEST_INSTALL_PACKAGES permission
Change-Id: I92bab7da7dd9d4dd8b0f6e946b786271674609e3
This commit is contained in:
parent
761cf48183
commit
1cf4fa8bb7
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue