diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-04-04 15:09:58 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2017-04-04 15:10:06 -0600 |
commit | 24403ff054f5c3086d297cafb8e928f3ac7c2f5b (patch) | |
tree | 6080ace511b5791cdacfa353ec880afee5c430f4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | dd7414a6442a40cfd9ecbae567ae217dd92f3f2e (diff) |
Just round up the data partition size.
Instead of trying to be clever by poking at underlying flash part
sizes, rely on the fact that device storage printed on retail
packaging is a power-of-two value.
For a typical device with a 23GiB data partition, this will return
a value of "32GB" which matches the retail packaging.
Test: builds, boots
Bug: 34827187
Change-Id: Ib4cf7f637dffc9238252e1fedcd86dc8b5cf656d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions