Bug 1316241 - Fix media prompts with GeckoView r=esawin
authorJames Willcox <snorp@snorp.net>
Mon, 30 Apr 2018 14:54:44 -0500
changeset 416885 3550cb0d54d45808dcf609eaf1fb4c0028e7d48a
parent 416884 d66c6d818c895df27e3dcb9529b8397838db0864
child 416886 7d21cb6d11c2a5406f5bbb68ed060392e0dc321b
push id33941
push usershindli@mozilla.com
push dateFri, 04 May 2018 08:36:02 +0000
treeherdermozilla-central@8994f35fe5fc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersesawin
bugs1316241
milestone61.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 1316241 - Fix media prompts with GeckoView r=esawin Looks like this got typoed during a rebase or something similar. MozReview-Commit-ID: Dv0PtzU3EJT
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java
--- a/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java
@@ -2842,17 +2842,17 @@ public class GeckoSession extends LayerS
                     throw new IllegalArgumentException("String: " + type + " is not a valid media type string");
                 }
             }
 
             /* package */ MediaSource(GeckoBundle media) {
                 id = media.getString("id");
                 rawId = media.getString("rawId");
                 name = media.getString("name");
-                source = getSourceFromString(media.getString("source"));
+                source = getSourceFromString(media.getString("mediaSource"));
                 type = getTypeFromString(media.getString("type"));
             }
         }
 
         /**
          * Callback interface for notifying the result of a media permission request,
          * including which media source(s) to use.
          */