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

Commit 06400475 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Delete code that checks for the simulator, it's long gone.

Exhibit A: http://b/5010576

Bug: 19316303
Change-Id: I093e4320f12459adaa51c6a14350e7a60e02937d
parent cc71518a
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -231,14 +231,6 @@ public class NetworkManagementService extends INetworkManagementService.Stub
        // make sure this is on the same looper as our NativeDaemonConnector for sync purposes
        mFgHandler = new Handler(FgThread.get().getLooper());

        if ("simulator".equals(SystemProperties.get("ro.product.device"))) {
            mConnector = null;
            mThread = null;
            mDaemonHandler = null;
            mPhoneStateListener = null;
            return;
        }

        // Don't need this wake lock, since we now have a time stamp for when
        // the network actually went inactive.  (It might be nice to still do this,
        // but I don't want to do it through the power manager because that pollutes the