commit | 6a99971096a9c5a6752f494db1d9b57d4ab77af2 | [log] [tgz] |
---|---|---|
author | Chris Fries <cfries@google.com> | Tue Apr 04 09:52:47 2017 -0500 |
committer | Chris Fries <cfries@google.com> | Fri Apr 14 15:44:20 2017 -0500 |
tree | 5f2130b3a65e9b6c0aae79dce5cda2634a92ec72 | |
parent | 4bf1be7ec870bdb828d7420f121b710ce4a07816 [diff] |
fastboot: Cap max size sent to libsparse This is required for large (>INT_MAX) sparse limit reported by the target. Also, patch up return chains of "int" that need to deal with sizes bigger than 2GB as well as return negative error codes. Test: -S works with large max-download-size Test: Flash 3GB system.img with max-download-size 2.5GB Bug: 36810152 Change-Id: I562a50eabd706bd5b97c71a1aef07c1ffd1a2e5c