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

Commit 666742c7 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "Stop creating threads for each MDST."

parents 4376b7f2 5a8921fd
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -95,9 +95,7 @@ public class MobileDataStateTracker implements NetworkStateTracker {
        mTarget = target;
        mContext = context;

        HandlerThread handlerThread = new HandlerThread("ConnectivityServiceThread");
        handlerThread.start();
        mHandler = new MdstHandler(handlerThread.getLooper(), this);
        mHandler = new MdstHandler(target.getLooper(), this);

        IntentFilter filter = new IntentFilter();
        filter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED);