We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36b7d5d commit 94f7bf3Copy full SHA for 94f7bf3
lib/services/android-debug-service.ts
@@ -25,7 +25,8 @@ class AndroidDebugService implements IDebugService {
25
private $errors: IErrors,
26
private $opener: IOpener,
27
private $staticConfig: IStaticConfig,
28
- private $utils: IUtils) { }
+ private $utils: IUtils,
29
+ private $config: IConfiguration) { }
30
31
private get platform() { return "android"; }
32
@@ -169,7 +170,7 @@ class AndroidDebugService implements IDebugService {
169
170
}
171
172
private openDebuggerClient(url: string): void {
- let chrome = this.$hostInfo.isDarwin ? "Google\ Chrome" : "chrome";
173
+ let chrome = this.$hostInfo.isDarwin ? this.$config.ANDROID_DEBUG_UI_MAC : "chrome";
174
let child = this.$opener.open(url, chrome);
175
if(!child) {
176
this.$errors.fail(`Unable to open ${chrome}.`);
0 commit comments