Storage correctly updates internal storage graph.

The estimated used size used to be displayed next to the actual applications' size.

Change-Id: I9a9bf1faf638f8495507930e531ca4c851558f26
This commit is contained in:
Gilles Debunne
2011-07-08 16:05:09 -07:00
parent 6dc0f9639e
commit b7609ff999
3 changed files with 15 additions and 18 deletions

View File

@@ -549,7 +549,7 @@ public class StorageMeasurement {
/**
* TODO remove this method, only used because external SD Card needs a special treatment.
*/
boolean isPrimary() {
return mIsPrimary;
boolean isExternalSDCard() {
return !mIsPrimary && !mIsInternal;
}
}