From aae84e813cce90d5d0b4567498587b87d0dc0a30 Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Mon, 8 Oct 2018 13:10:25 -0700 Subject: Check maximum allowed download size for download command. Bug: 117272937 Test: fastboot flashall Change-Id: Ied34a89129813a7f9fce6d4f48d8b65967558731 --- fastboot/device/variables.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'fastboot/device/variables.cpp') diff --git a/fastboot/device/variables.cpp b/fastboot/device/variables.cpp index 2de79b18d..630e22d88 100644 --- a/fastboot/device/variables.cpp +++ b/fastboot/device/variables.cpp @@ -36,7 +36,6 @@ using ::android::hardware::fastboot::V1_0::FileSystemType; using ::android::hardware::fastboot::V1_0::Result; using ::android::hardware::fastboot::V1_0::Status; -constexpr int kMaxDownloadSizeDefault = 0x20000000; constexpr char kFastbootProtocolVersion[] = "0.4"; bool GetVersion(FastbootDevice* /* device */, const std::vector& /* args */, -- cgit v1.2.3