Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1260cf9 authored by Roshan Pius's avatar Roshan Pius
Browse files

Revert "WifiManager: Retrieve IWifiManager service lazily"

Couple of reverts in the CL:
a) Revert "WifiManager: Return dummy values when wifi service is not up"
This reverts commit dfb747ef.
b) Revert "WifiManager: Retrieve IWifiManager service lazily"
This reverts commit 2161b39d.

Reason for revert: Wifi services no longer plan to be a separate
APK/process for mainline. Will instead become a jar loaded from Apex.

Bug: 144722612
Test: Device boots up & connects to wifi networks.
Change-Id: Ic0bd8392f3c8e85b72dd62460c540e8cf58fc705
parent ad32dbfc
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -72,7 +72,10 @@ public class WifiFrameworkInitializer {
        SystemServiceRegistry.registerContextAwareService(
                Context.WIFI_SERVICE,
                WifiManager.class,
                context -> new WifiManager(context, getInstanceLooper())
                (context, serviceBinder) -> {
                    IWifiManager service = IWifiManager.Stub.asInterface(serviceBinder);
                    return new WifiManager(context, service, getInstanceLooper());
                }
        );
        SystemServiceRegistry.registerStaticService(
                Context.WIFI_P2P_SERVICE,
+100 −407

File changed.

Preview size limit exceeded, changes collapsed.