diff options
| author | Billy Lau <billylau1@gmail.com> | 2016-11-15 11:53:00 +0000 |
|---|---|---|
| committer | Billy Lau <billylau1@gmail.com> | 2016-11-15 11:53:00 +0000 |
| commit | e246add2ca1c029ea927be7c0370f53405f02a86 (patch) | |
| tree | 5fbe176bd9cb0c8d11145321a6baa6ed191b584c /executor/executor.cc | |
| parent | 112238483a2df647d2f482e26d972b70bbd7c34e (diff) | |
Added a retry clause when doing battery check in adb.go
Some devices may not boot up fast enough when battery check
is done as it currently is in adb.go. Therefore,
getBatteryLevel() is modified to take in a parameter to determine
the number of times to retry before giving up.
Diffstat (limited to 'executor/executor.cc')
0 files changed, 0 insertions, 0 deletions
