commit | 19fb149ca336bdf9b15b4b3bf9eaca754e04a455 | [log] [tgz] |
---|---|---|
author | Guang Zhu <guangzhu@google.com> | Fri Dec 06 11:52:25 2013 -0800 |
committer | Guang Zhu <guangzhu@google.com> | Fri Dec 06 11:52:25 2013 -0800 |
tree | bb50f07ca99140decadf85a9a25a26af551d958b | |
parent | c75f3a561602cbd0b2b442aeac5af6ed30a525e1 [diff] |
fix shell available detection in DeviceStateMonitor original implementation checks for substring 'system', but this fails to detect recovery mode, since you'll get: - exec '/system/bin/sh' failed: No such file or directory (2) - changed to check for /system/bin/adb instead Change-Id: Ied5dd9ce2988b67fb76ae9bf2cc8301828c8a90e