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

Commit 71684a61 authored by William Escande's avatar William Escande
Browse files

AdapterService: prepare fast service create

Bug: 323672160
Test: m Bluetooth | no-op change
Flag: Exempt, no-op change
Change-Id: I7c4feb5d0715895d475d6d1a81983a367f9fbad8
parent 50f7d662
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -618,13 +618,18 @@ public class AdapterService extends Service {
            })
    public void onCreate() {
        super.onCreate();
        debugLog("onCreate()");
        init();
    }

    private void init() {
        debugLog("init()");
        Config.init(this);
        if (mLooper == null) {
            mLooper = Looper.getMainLooper();
        }
        mHandler = new AdapterServiceHandler(mLooper);
        initMetricsLogger();
        debugLog("onCreate()");
        mDeviceConfigListener.start();

        mUserManager = getNonNullSystemService(UserManager.class);