Bug 1531833 - Add bluetooth permission to GeckoView. r=snorp
authorPaul Adenot <paul@paul.cx>
Tue, 16 Apr 2019 15:44:58 +0000
changeset 469690 ffe609cec2fe
parent 469689 6d2077420c62
child 469691 cd74a5191ca1
push id35879
push usernerli@mozilla.com
push dateTue, 16 Apr 2019 22:01:48 +0000
treeherdermozilla-central@12a60898fdc1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1531833
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 1531833 - Add bluetooth permission to GeckoView. r=snorp This is needed to open an SCO channel and do proper (low-latency) bluetooth communication when doing a call using WebRTC, or simply recording local audio in a web application. I think this is more of a GeckoView thing, but I'm a bit fuzzy on the distinction, maybe it's the wrong manifest. I tested using Fennec. Differential Revision: https://phabricator.services.mozilla.com/D21734
mobile/android/geckoview/src/main/AndroidManifest.xml
--- a/mobile/android/geckoview/src/main/AndroidManifest.xml
+++ b/mobile/android/geckoview/src/main/AndroidManifest.xml
@@ -1,15 +1,16 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
           package="org.mozilla.geckoview">
 
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
     <uses-permission android:name="android.permission.INTERNET"/>
     <uses-permission android:name="android.permission.WAKE_LOCK"/>
+    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
 
     <uses-feature
             android:name="android.hardware.location"
             android:required="false"/>
     <uses-feature
             android:name="android.hardware.location.gps"
             android:required="false"/>
     <uses-feature