mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
Bug 1469054 - Add async annotation for adb.start(). r=jdescottes
MozReview-Commit-ID: 534q7l33l7o --HG-- extra : rebase_source : e6805ea7483fa3c2f1f92920a99a0c5c4fbeb745
This commit is contained in:
parent
5528ed6336
commit
0ae3177157
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user