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

Commit dc540ea0 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Android (Google) Code Review
Browse files

Merge "Delete code that checks for the simulator, it's long gone." into mnc-dev

parents 683e3cfe 06400475
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