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

Commit 7455c0a8 authored by Alex Lin's avatar Alex Lin
Browse files

[DO NOT MERGE] Start the state machine in EuiccConnector eariler

Start the state machine inside EuiccConnector before registering for
incoming events
Bug: 152094154
Test: built and test the basic functions in LPA

Change-Id: Ic02a3affaaae4394a2deb8294eeb355fc28a6835
(cherry picked from commit 20a55dfa)
parent b07db11f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -402,11 +402,11 @@ public class EuiccConnector extends StateMachine implements ServiceConnection {
        mSelectedComponent = findBestComponent();
        setInitialState(mSelectedComponent != null ? mAvailableState : mUnavailableState);

        start();

        mPackageMonitor.register(mContext, null /* thread */, null /* user */);
        mContext.registerReceiver(
                mUserUnlockedReceiver, new IntentFilter(Intent.ACTION_USER_UNLOCKED));

        start();
    }

    @Override