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:
David Anderson 2022-03-23 18:38:12 +00:00 committed by Automerger Merge Worker
commit 48e62ef68a

View file

@ -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;