am 5e34f239: Fix issue #3124528: Mange applications is including cache files in storage size

This commit is contained in:
Dianne Hackborn
2010-10-22 12:59:31 -07:00
committed by Android Git Automerger
3 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:layout_marginTop="-23dp" android:layout_marginTop="-20dp"
android:textAppearance="?android:attr/textAppearanceSmallInverse" android:textAppearance="?android:attr/textAppearanceSmallInverse"
android:textColor="#ccc" android:textColor="#ccc"
android:shadowColor="#000" android:shadowColor="#000"

View File

@@ -60,7 +60,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:layout_marginTop="-23dp" android:layout_marginTop="-20dp"
android:textAppearance="?android:attr/textAppearanceSmallInverse" android:textAppearance="?android:attr/textAppearanceSmallInverse"
android:textColor="#ccc" android:textColor="#ccc"
android:shadowColor="#000" android:shadowColor="#000"

View File

@@ -585,7 +585,7 @@ public class ApplicationsState {
private long getTotalSize(PackageStats ps) { private long getTotalSize(PackageStats ps) {
if (ps != null) { if (ps != null) {
return ps.cacheSize+ps.codeSize+ps.dataSize; return ps.codeSize+ps.dataSize;
} }
return SIZE_INVALID; return SIZE_INVALID;
} }