Bug 756339 - Setup DNS fix when launching emulator, a=testonly, DONTBUILD because NPOTB

This commit is contained in:
Jonathan Griffin 2012-05-17 19:11:16 -07:00
Родитель 578a047010
Коммит 0017d822e0
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -268,6 +268,10 @@ class Emulator(object):
if self.logcat_dir:
self.save_logcat()
# setup DNS fix for networking
self._run_adb(['-s', 'emulator-%d' % self.port,
'shell', 'setprop', 'net.dns1', '10.0.2.3'])
def _save_logcat_proc(self, filename, cmd):
self.logcat_proc = LogcatProc(filename, cmd)
self.logcat_proc.run()