Display OBB usage as part of app details
Add the OBB usage to the application details for USB storage / SD card storage usage. Bug: 3356814 Change-Id: I06c97a73ae927316a2683ea15fd1a8b1aada31e3
This commit is contained in:
@@ -636,7 +636,8 @@ public class ApplicationsState {
|
|||||||
|
|
||||||
private long getTotalExternalSize(PackageStats ps) {
|
private long getTotalExternalSize(PackageStats ps) {
|
||||||
if (ps != null) {
|
if (ps != null) {
|
||||||
return ps.externalDataSize + ps.externalMediaSize + ps.externalCacheSize;
|
return ps.externalDataSize + ps.externalMediaSize + ps.externalCacheSize
|
||||||
|
+ ps.externalObbSize;
|
||||||
}
|
}
|
||||||
return SIZE_INVALID;
|
return SIZE_INVALID;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user