Bug 933275 - Display the appropriate media in-use icons. r=fedepaol, a=bajaj
authorWes Johnston <wjohnston@mozilla.com>
Sat, 09 Nov 2013 12:58:47 -0500
changeset 166450 5cd502cfa5811c0dd585ad95f9d32d34eb7daf4f
parent 166449 fa20170ea891f5a8848b50e143f53e4d550d68a7
child 166451 fba31896973ce9c19ee15b7ae719bd59b69accfb
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfedepaol, bajaj
bugs933275
milestone27.0a2
Bug 933275 - Display the appropriate media in-use icons. r=fedepaol, a=bajaj
mobile/android/chrome/content/WebrtcUI.js
--- a/mobile/android/chrome/content/WebrtcUI.js
+++ b/mobile/android/chrome/content/WebrtcUI.js
@@ -49,23 +49,23 @@ var WebrtcUI = {
         let hasVideo = {};
         MediaManagerService.mediaCaptureWindowState(win, hasVideo, hasAudio);
         if (hasVideo.value) cameraActive = true;
         if (hasAudio.value) audioActive = true;
       }
 
       if (cameraActive && audioActive) {
         msg.text = Strings.browser.GetStringFromName("getUserMedia.sharingCameraAndMicrophone.message2");
-        msg.smallicon = "drawable:alert_mic_camera";
+        msg.smallIcon = "drawable:alert_mic_camera";
       } else if (cameraActive) {
         msg.text = Strings.browser.GetStringFromName("getUserMedia.sharingCamera.message2");
-        msg.smallicon = "drawable:alert_camera";
+        msg.smallIcon = "drawable:alert_camera";
       } else if (audioActive) {
         msg.text = Strings.browser.GetStringFromName("getUserMedia.sharingMicrophone.message2");
-        msg.smallicon = "drawable:alert_mic";
+        msg.smallIcon = "drawable:alert_mic";
       } else {
         // somethings wrong. lets throw
         throw "Couldn't find any cameras or microphones being used"
       }
 
       if (count > 1)
         msg.count = count;
     }