commit | 37c4af6f18a523d803c6a7229778e56e84146dd6 | [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 | 6b05c19db94309f04c1464adfc8d8068d951ad23 [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