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

Commit 375d91d8 authored by William Escande's avatar William Escande
Browse files

Adapter: Move Config init to AdapterService

Profile configuration is part of the adapterService process. Not all
AdapterApp need it

Test: m Bluetooth
Test: Boot and check log for initialization order
Bug: 290403852
Change-Id: I0769bb44393de391f26db332128ae2ed31c39ebc
parent 431f4508
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -45,7 +45,6 @@ public class AdapterApp extends Application {
        } catch (Exception e) {
            Log.e(TAG, "Migration failure: ", e);
        }
        Config.init(this);
    }

    @Override
+1 −0
Original line number Diff line number Diff line
@@ -610,6 +610,7 @@ public class AdapterService extends Service {
            })
    public void onCreate() {
        super.onCreate();
        Config.init(this);
        if (mLooper == null) {
            mLooper = Looper.getMainLooper();
        }