[tor-commits] [tor-browser/tor-browser-60.4.0esr-8.5-1] Bug 1480079 - Add REQUEST_INSTALL_PACKAGES permission for all builds; r=jchen
gk at torproject.org
gk at torproject.org
Thu Jan 24 18:43:29 UTC 2019
commit 4fe43cba0780a310cea820589ae0dc52837ebef9
Author: Petru Lingurar <petru.lingurar at softvision.ro>
Date: Tue Aug 7 16:48:29 2018 +0300
Bug 1480079 - Add REQUEST_INSTALL_PACKAGES permission for all builds; r=jchen
This permission is needed on API26+ to be able to install app updates but also
other downloaded APKs.
MozReview-Commit-ID: Lk0uqBAJ5BH
--HG--
extra : rebase_source : 5f31cfd06c2205cd2a96ac68ba19b697d49ae75c
---
mobile/android/base/FennecManifest_permissions.xml.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mobile/android/base/FennecManifest_permissions.xml.in b/mobile/android/base/FennecManifest_permissions.xml.in
index 08c611d0a290..71f07b259135 100644
--- a/mobile/android/base/FennecManifest_permissions.xml.in
+++ b/mobile/android/base/FennecManifest_permissions.xml.in
@@ -45,6 +45,9 @@
#endif
<uses-feature android:name="android.hardware.touchscreen"/>
+ <!-- To be able to install updates and other downloaded APKs on API 26+ -->
+ <uses-permission-sdk-23 android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
+
#ifdef MOZ_ANDROID_BEAM
<!-- Android Beam support -->
<uses-permission android:name="android.permission.NFC"/>
More information about the tor-commits
mailing list