Merge "fastboot: Fallback to "raw" partition type if fastboot hal isn't present"
This commit is contained in:
commit
b51b109ea9
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…
Add table
Reference in a new issue