logical -> dynamic partitions.
Reflect a name change. Test: boots Bug: 119286600 Change-Id: I076071be18be521eeee4ebae10491b9f3e8ef857
This commit is contained in:
parent
5729cff611
commit
0e0f818c8a
2 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ void reboot_service(unique_fd fd, const std::string& arg) {
|
|||
std::string reboot_string = android::base::StringPrintf("reboot,%s", reboot_arg.c_str());
|
||||
|
||||
if (reboot_arg == "fastboot" &&
|
||||
android::base::GetBoolProperty("ro.boot.logical_partitions", false) &&
|
||||
android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) &&
|
||||
access("/dev/socket/recovery", F_OK) == 0) {
|
||||
LOG(INFO) << "Recovery specific reboot fastboot";
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -468,7 +468,7 @@ bool HandlePowerctlMessage(const std::string& command) {
|
|||
// adb reboot fastboot should boot into bootloader for devices not
|
||||
// supporting logical partitions.
|
||||
if (reboot_target == "fastboot" &&
|
||||
!android::base::GetBoolProperty("ro.boot.logical_partitions", false)) {
|
||||
!android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) {
|
||||
reboot_target = "bootloader";
|
||||
}
|
||||
// When rebooting to the bootloader notify the bootloader writing
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue