| Index: appengine/swarming/swarming_bot/api/platforms/android.py
|
| diff --git a/appengine/swarming/swarming_bot/api/platforms/android.py b/appengine/swarming/swarming_bot/api/platforms/android.py
|
| index 7c2b8bc8dde317771c1ff3a0df76f0df40dc6440..0d7911c8bb123637d7b8ccb2414239056570dae5 100644
|
| --- a/appengine/swarming/swarming_bot/api/platforms/android.py
|
| +++ b/appengine/swarming/swarming_bot/api/platforms/android.py
|
| @@ -14,9 +14,18 @@ import os
|
|
|
|
|
| from adb import adb_commands_safe
|
| +from adb import adb_protocol
|
| +from adb import common
|
| from adb import high
|
|
|
|
|
| +LEVEL = logging.WARNING
|
| +adb_commands_safe._LOG.setLevel(LEVEL)
|
| +adb_protocol._LOG.setLevel(LEVEL)
|
| +common._LOG.setLevel(LEVEL)
|
| +high._LOG.setLevel(LEVEL)
|
| +
|
| +
|
| def initialize(pub_key, priv_key):
|
| return high.Initialize(pub_key, priv_key)
|
|
|
| @@ -29,3 +38,7 @@ def get_devices(bot):
|
|
|
| def close_devices(devices):
|
| return high.CloseDevices(devices)
|
| +
|
| +
|
| +def kill_adb():
|
| + return adb_commands_safe.KillADB()
|
|
|