From e2a79ed58fc3c8f52350e35e837df46392c0cb1e Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Thu, 20 Sep 2018 17:13:51 -0400 Subject: [PATCH] VM emits MIC_LISTENING --- src/virtual-machine.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/virtual-machine.js b/src/virtual-machine.js index 90f2bd513..97281d18a 100644 --- a/src/virtual-machine.js +++ b/src/virtual-machine.js @@ -117,6 +117,9 @@ class VirtualMachine extends EventEmitter { this.runtime.on(Runtime.PERIPHERAL_SCAN_TIMEOUT, () => this.emit(Runtime.PERIPHERAL_SCAN_TIMEOUT) ); + this.runtime.on(Runtime.MIC_LISTENING, listening => { + this.emit(Runtime.MIC_LISTENING, listening); + }); this.extensionManager = new ExtensionManager(this.runtime);