avoid data overflow in low memory device

Bug: 142294642
Test: fastboot flash system system.img
Change-Id: Iec50817aaca5d31c194f0fdf409503829d14ca06
This commit is contained in:
JeiFeng Lee 2019-10-23 13:20:41 +08:00
parent d5dff26049
commit ba117304ab

View file

@ -19,7 +19,7 @@
#include <string>
#include <vector>
constexpr unsigned int kMaxDownloadSizeDefault = 0x20000000;
constexpr unsigned int kMaxDownloadSizeDefault = 0x10000000;
class FastbootDevice;