Skip to content

Commit 1fde378

Browse files
committed
make linter happy again
1 parent e329792 commit 1fde378

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

lib/services/android-debug-service.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import * as path from "path";
21
import * as net from "net";
32
import Future = require("fibers/future");
43
import { sleep } from "../common/helpers";
54
import {ChildProcess} from "child_process";
65

76
class AndroidDebugService implements IDebugService {
8-
private static DEFAULT_NODE_INSPECTOR_URL = "http://127.0.0.1:8080/debug";
9-
107
private _device: Mobile.IAndroidDevice = null;
118
private _debuggerClientProcess: ChildProcess;
129

@@ -161,7 +158,6 @@ class AndroidDebugService implements IDebugService {
161158
if (this.$options.client) {
162159
let port = this.getForwardedLocalDebugPortForPackageName(deviceId, packageName).wait();
163160
this.startDebuggerClient(port).wait();
164-
//this.openDebuggerClient(AndroidDebugService.DEFAULT_NODE_INSPECTOR_URL + "?port=" + port);
165161
}
166162
}).future<void>()();
167163
}
@@ -256,20 +252,5 @@ class AndroidDebugService implements IDebugService {
256252
}
257253
}
258254

259-
private openDebuggerClient(url: string): void {
260-
let defaultDebugUI = "chrome";
261-
if (this.$hostInfo.isDarwin) {
262-
defaultDebugUI = "Google Chrome";
263-
}
264-
if (this.$hostInfo.isLinux) {
265-
defaultDebugUI = "google-chrome";
266-
}
267-
268-
let debugUI = this.$config.ANDROID_DEBUG_UI || defaultDebugUI;
269-
let child = this.$opener.open(url, debugUI);
270-
if (!child) {
271-
this.$errors.failWithoutHelp(`Unable to open ${debugUI}.`);
272-
}
273-
}
274255
}
275256
$injector.register("androidDebugService", AndroidDebugService);

0 commit comments

Comments
 (0)