summaryrefslogtreecommitdiffstats
path: root/fastboot/device/fastboot_device.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-01-15 14:38:20 -0800
committerDavid Anderson <dvander@google.com>2019-01-17 18:33:14 +0000
commit1d504e3342b2960066739ea66fac6625b07560fb (patch)
tree0efac4787a95a99f95c0125765da6a3bc3c33cf8 /fastboot/device/fastboot_device.cpp
parent0e330f12bc7f693933b96ad729d296a92ffd80b7 (diff)
downloadsystem_core-1d504e3342b2960066739ea66fac6625b07560fb.tar.gz
system_core-1d504e3342b2960066739ea66fac6625b07560fb.tar.bz2
system_core-1d504e3342b2960066739ea66fac6625b07560fb.zip
fastbootd: Add command to remove GSI installs
Note: this only removes the bootable marker, since we're unable to remove the userdata files within recovery. Bug: 121210348 Test: fastboot gsi wipe fastboot gsi disable Change-Id: I64fe848c787d426ae9d18a1557a9d6b340bfc2cf
Diffstat (limited to 'fastboot/device/fastboot_device.cpp')
-rw-r--r--fastboot/device/fastboot_device.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/fastboot/device/fastboot_device.cpp b/fastboot/device/fastboot_device.cpp
index 7be721a67..56fafab04 100644
--- a/fastboot/device/fastboot_device.cpp
+++ b/fastboot/device/fastboot_device.cpp
@@ -53,6 +53,7 @@ FastbootDevice::FastbootDevice()
{FB_CMD_RESIZE_PARTITION, ResizePartitionHandler},
{FB_CMD_UPDATE_SUPER, UpdateSuperHandler},
{FB_CMD_OEM, OemCmdHandler},
+ {FB_CMD_GSI, GsiHandler},
}),
transport_(std::make_unique<ClientUsbTransport>()),
boot_control_hal_(IBootControl::getService()),