summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorhj.seo <hj.seo@lge.com>2017-12-20 09:39:47 +0900
committerhj.seo <hj.seo@lge.com>2017-12-26 09:24:53 +0900
commite82e89ef9033f02489503196df6da0654ae007be (patch)
tree4dc32c481cdf0b4e8df00ffd26bca5fbc052e0e4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent71b25c06a75ef54818dc9986f530f02580ac51e4 (diff)
Modify getting of primary storage size
Settings application shows internal storage size using API getTotalBytes in StorageStatsManager. This API calls getPrimaryStorageSize() in StorageManager. getPrimaryStorageSize() returns /data parition size calculated API roundStorageSize() in FileUtils. Using this API, total primary storage size returns 8GB if 16GB emmc size device has /data partition size below 8GB. So we should modify getting of primary storage size close to real emmc size. getPrimaryStorageSize() will be calculated sum of /data and /system partition size. Test: Check primary storage size in Settings application Change-Id: I3ad33534b1c55d09afbb0e9be1c408c02c442842 Signed-off-by: hj.seo <hj.seo@lge.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions