commit | 4673a1d1e4b0d26eaf5df470713cb4d2f90f2f4b | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Dec 05 12:20:02 2018 +0900 |
committer | Kenny Root <kroot@google.com> | Wed Dec 05 12:20:02 2018 +0900 |
tree | af9c82f8f2278b8b9efd20a3640c6a14b0adf195 | |
parent | 9f6fb2a3651985d5bdead8d074270e78048a4a93 [diff] |
SystemServer: initialize ADB before USB USB depends on ADB to hold the state for ADB debugging enabled, so move it to initialize before USB attempts to initialize. This removes a race condition introduced by moving the source of truth for ADB debugging enabled to the AdbService instead of UsbService. Bug: 119765805 Test: boot emulator several times Change-Id: Ib1f5ae0ceab5abe64e2d14b9e2b3a55c9919ad2f