This reverts commit 0141e45b96. Reason for revert: Fixed in follow-up CL Test: forrest Bug: 143734706 Change-Id: I007acf228d4fb4d6a16ae9089e3f04cf33a567bb
0141e45b96
This reverts commit a4906cd306. Reason for revert: b/143734706 Change-Id: I905bd9c0bfcbd123c8f9e78986bfcb5600a9eca9
a4906cd306
Easier to read and modify its logic. Test: builds Test: test_check_partition_sizes Test: atest releasetools_test Test: atest releasetools_py3_test Change-Id: I73204664b64a0bcee7375fa6fca46758d5a2bb72