commit | 27e6d3a1332004c944e430979cfb4d1d8a41c06c | [log] [tgz] |
---|---|---|
author | Guang Zhu <guangzhu@google.com> | Mon Oct 14 13:49:01 2013 -0700 |
committer | Guang Zhu <guangzhu@google.com> | Mon Oct 14 17:25:13 2013 -0700 |
tree | f52ff36d652ba0b909305944274b7a733098dc78 | |
parent | b46a239d9f871c2044644e5bc0cda0b973312155 [diff] |
use framework function to reboot device when possible * cleaned up code path for adb reboot into bootloader * when rebooting from adb into adb/bootloader/recovery, use package manager reboot function when: 1. device API level >= 18 2. has adb root 3. framework is running Change-Id: I4fd9cbe4c45c14e3c57ca3094eb328218e1703e2