Bug 1469054 - Add async annotation for adb.start(). r=jdescottes

MozReview-Commit-ID: 534q7l33l7o

--HG--
extra : rebase_source : e6805ea7483fa3c2f1f92920a99a0c5c4fbeb745
This commit is contained in:
Hiroyuki Ikezoe 2018-08-09 14:27:56 +09:00
parent 5528ed6336
commit 0ae3177157

View File

@ -51,7 +51,7 @@ const ADB = {
// We startup by launching adb in server mode, and setting
// the tcp socket preference to |true|
start() {
async start() {
return new Promise(async (resolve, reject) => {
const onSuccessfulStart = () => {
Services.obs.notifyObservers(null, "adb-ready");