Merge "fastboot: Fallback to "raw" partition type if fastboot hal isn't present" am: b51b109ea9
am: 06d9627e76
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2005710 Change-Id: Iddde7996f7c766be61af7b0fcb6d6c7361833ec4
This commit is contained in:
commit
48e62ef68a
1 changed files with 2 additions and 2 deletions
|
@ -332,8 +332,8 @@ bool GetPartitionType(FastbootDevice* device, const std::vector<std::string>& ar
|
|||
|
||||
auto fastboot_hal = device->fastboot_hal();
|
||||
if (!fastboot_hal) {
|
||||
*message = "Fastboot HAL not found";
|
||||
return false;
|
||||
*message = "raw";
|
||||
return true;
|
||||
}
|
||||
|
||||
FileSystemType type;
|
||||
|
|
Loading…
Reference in a new issue