Commit bf7acbf7 authored by Julian Descottes's avatar Julian Descottes
Browse files

Bug 1493104 - Add adbScanner to WebIDE scanners if status is already installed;r=ladybenko,daisuke

Depends on D7873.
This fixes the following scenario:
- install ADB
- connect a Device
- start about:debugging
=> device shows up in sidebar
- start WebIDE
=> device should show up in WebIDE

Differential Revision:

extra : moz-landing-system : lando
parent cc74868a
......@@ -56,6 +56,11 @@ function BuildUI() {
// If the addon is already installed on startup, add the adbScanner to our
// RuntimesScanner.
if (adbAddon.status === ADB_ADDON_STATES.INSTALLED) {
adbAddon.on("update", onAddonUpdate);
adbAddon.on("failure", onAddonFailure);
adbAddon.on("progress", onAddonProgress);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment