Files
frameworks_base/core/java/android/os
hj.seo e82e89ef90 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>
2017-12-26 09:24:53 +09:00
..
2017-04-27 16:24:26 -07:00
2017-11-15 15:37:53 -08:00
2017-08-07 15:36:10 -07:00
2017-04-24 13:20:46 -06:00
2017-06-28 16:49:12 -07:00
2017-08-07 15:36:10 -07:00
2017-09-13 10:41:50 -07:00