diff options
author | Hridya Valsaraju <hridya@google.com> | 2018-10-08 13:10:25 -0700 |
---|---|---|
committer | Hridya Valsaraju <hridya@google.com> | 2018-10-08 14:07:56 -0700 |
commit | aae84e813cce90d5d0b4567498587b87d0dc0a30 (patch) | |
tree | 4c737b5967a0fa7160b2bbdc1c8de36876889490 /fastboot/device/variables.cpp | |
parent | f3186de123c742166ec5e61b27b61af3ef929dfb (diff) |
Check maximum allowed download size for download command.
Bug: 117272937
Test: fastboot flashall
Change-Id: Ied34a89129813a7f9fce6d4f48d8b65967558731
Diffstat (limited to 'fastboot/device/variables.cpp')
-rw-r--r-- | fastboot/device/variables.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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<std::string>& /* args */, |