init: reboot to recovery on panic by default to allow reading pstore
Note: bootloaders can still change the reboot target using cmdline. Change-Id: I982ddb0b5720c660026e9b8b2ec4d0c3196b6442 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
parent
cbc854979e
commit
d306178c83
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@
|
|||
namespace android {
|
||||
namespace init {
|
||||
|
||||
static std::string init_fatal_reboot_target = "bootloader";
|
||||
static std::string init_fatal_reboot_target = "recovery";
|
||||
static bool init_fatal_panic = false;
|
||||
|
||||
// this needs to read the /proc/* files directly because it is called before
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue