diff options
author | Jeff Sharkey <jsharkey@android.com> | 2018-05-01 13:09:28 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2018-05-01 13:09:30 -0600 |
commit | 41afa65947d5993c1912438e586bbb5ebe46b90d (patch) | |
tree | d1168519297979be69594da68c5aa0c528ec8548 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 68f36d6b5d5ad4711811160795cab399d247845d (diff) |
Avoid redundant getAllocatableBytes() calls.
Shuffle around the ordering of resolveInstallVolume() so that we
determine the fitsOnInternal value while doing a drive-by of all
possible target volumes. This way we only call getAllocatableBytes()
internal storage once.
Bug: 70985520
Test: atest android.content.pm.PackageHelperTests
Change-Id: I8273c239af4a13b1db17f320e15ee0ef2dc89186
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions