Bug 1480877 - Only add RECEIVE_BOOT_COMPLETED Android permission with Stumbler r=JanH
authorMatthew Finkel <Matthew.Finkel@gmail.com>
Fri, 17 May 2019 07:38:54 +0000
changeset 474341 65747386d437720e71bf5a57eb637dc56e343dd2
parent 474340 35b60d3e1321c66117f647b93fcb95f61a1fb5fe
child 474342 c9f22236d5a52ae59692b8d5c12d63806a987ff3
push id36030
push userrgurzau@mozilla.com
push dateFri, 17 May 2019 21:41:01 +0000
treeherdermozilla-central@7c540586aedb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersJanH
bugs1480877
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1480877 - Only add RECEIVE_BOOT_COMPLETED Android permission with Stumbler r=JanH Differential Revision: https://phabricator.services.mozilla.com/D31525
mobile/android/base/FennecManifest_permissions.xml.in
--- a/mobile/android/base/FennecManifest_permissions.xml.in
+++ b/mobile/android/base/FennecManifest_permissions.xml.in
@@ -11,17 +11,19 @@
 #include SamsungAppStoreManifest_permissions.xml.in
 
     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
     <uses-permission android:name="android.permission.INTERNET"/>
+#ifdef MOZ_ANDROID_MLS_STUMBLER
     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
+#endif
     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
     <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
     <uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/>
     <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
     <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
 
     <uses-permission android:name="android.permission.WAKE_LOCK"/>