commit | 54815c9dc91fcef776641757925d036626a9faef | [log] [tgz] |
---|---|---|
author | atinm <atinm.dev@gmail.com> | Tue May 03 00:25:01 2011 -0400 |
committer | atinm <atinm.dev@gmail.com> | Sat May 07 15:36:56 2011 -0400 |
tree | e9be85648f8535beae0cf8a1892d995b6acb49e9 | |
parent | cea6eba92de57bb9026d4fa3ffe1d8e281c07a5f [diff] |
Use TARGET_RECOVERY_PRE_COMMAND before calling __reboot() recovery For the Power menu, frameworks/base/core/jni/android_os_Power.cpp#L180 already uses TARGET_RECOVERY_PRE_COMMAND if TARGET_RECOVERY_PRE_COMMAND is defined in the BoardConfig.mk for a device to make a system() call before calling __reboot() for recovery. This commit adds the same thing to the other places that we know we are getting into recovery using __reboot(). Change-Id: Ifd0394fed1e87b63d80d95e0e2a049004518e27e