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

Commit f542a33c authored by Adam Lesinski's avatar Adam Lesinski
Browse files

Fix build due to change in SystemServiceManager

Change-Id: I0fabb98b7b84e5c721757d20df4eac501ca21cc0
parent a78068e7
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -112,6 +112,10 @@ public final class SystemServer {
            "com.android.server.print.PrintManagerService";
    private static final String USB_SERVICE_CLASS =
            "com.android.server.usb.UsbService$Lifecycle";
    private static final String WIFI_SERVICE_CLASS =
            "com.android.server.wifi.WifiService";
    private static final String WIFI_P2P_SERVICE_CLASS =
            "com.android.server.wifi.p2p.WifiP2pService";

    private final int mFactoryTestMode;
    private Timer mProfilerSnapshotTimer;
@@ -600,17 +604,13 @@ public final class SystemServer {
                }

                try {
                    Slog.i(TAG, "Wi-Fi P2pService");
                    mSystemServiceManager.startServiceIfExists(
                            "com.android.server.wifi.p2p.WifiP2pService");
                    mSystemServiceManager.startService(WIFI_P2P_SERVICE_CLASS);
                } catch (Throwable e) {
                    reportWtf("starting Wi-Fi P2pService", e);
                }

                try {
                    Slog.i(TAG, "Wi-Fi Service");
                    mSystemServiceManager.startServiceIfExists(
                            "com.android.server.wifi.WifiService");
                    mSystemServiceManager.startService(WIFI_SERVICE_CLASS);
                } catch (Throwable e) {
                    reportWtf("starting Wi-Fi Service", e);
                }