commit | be333999b3a40b9ec81d4ea2265603518cdefe95 | [log] [tgz] |
---|---|---|
author | Ajay Panicker <apanicke@google.com> | Fri Nov 09 10:46:17 2018 -0800 |
committer | Ajay Panicker <apanicke@google.com> | Fri Nov 09 10:46:17 2018 -0800 |
tree | 3e8a94a23bd3d29829b08ce251de645f90e2e402 | |
parent | 824cdc79af883289746f1a3b88380f557728d3a6 [diff] |
Change the initialization order of AvrcpTargetService Create all necessary interfaces and initialize all variables before registering for callbacks from other locations. This prevents different interfaces from being null if an event takes place before initialization is complete. Bug: 111724742 Test: Sanity test with Carkit Change-Id: I29efcf1d789fcda9178d08d65bfb10b50e79ff81