Bug 1215012 - mdnsd - Firefox Beta Android excessive battery usage. r=xeonchen, a=lizzard
authorMark Finkle <mfinkle@mozilla.com>
Mon, 23 Nov 2015 19:27:20 -0500
changeset 305648 23f7d90263fbda76ad0e287784ed9b0f3c5d82d2
parent 305647 7d2a8e1c3339b51977dd1d7c89db3d68873b5645
child 305649 91b7f25540f09d595c5638ea0f9e60bd810cad50
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersxeonchen, lizzard
bugs1215012
milestone44.0a2
Bug 1215012 - mdnsd - Firefox Beta Android excessive battery usage. r=xeonchen, a=lizzard
mobile/android/base/mdns/MulticastDNSManager.java
--- a/mobile/android/base/mdns/MulticastDNSManager.java
+++ b/mobile/android/base/mdns/MulticastDNSManager.java
@@ -35,22 +35,17 @@ import java.util.concurrent.ConcurrentHa
  * @See nsIDNSServiceDiscovery.idl
  */
 public abstract class MulticastDNSManager {
     protected static final String LOGTAG = "GeckoMDNSManager";
     private static MulticastDNSManager instance = null;
 
     public static MulticastDNSManager getInstance(final Context context) {
         if (instance == null) {
-            // Bug 1188935: There's a bug on Android 4.4 and before.
-            if (Versions.feature21Plus) {
-                instance = new NsdMulticastDNSManager(context);
-            } else {
-                instance = new DummyMulticastDNSManager();
-            }
+            instance = new DummyMulticastDNSManager();
         }
         return instance;
     }
 
     public abstract void init();
     public abstract void tearDown();
 }