am 5e34f239: Fix issue #3124528: Mange applications is including cache files in storage size
diff --git a/res/layout/manage_applications.xml b/res/layout/manage_applications.xml
index 2d6678a..95d4847 100755
--- a/res/layout/manage_applications.xml
+++ b/res/layout/manage_applications.xml
@@ -60,7 +60,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
- android:layout_marginTop="-23dp"
+ android:layout_marginTop="-20dp"
android:textAppearance="?android:attr/textAppearanceSmallInverse"
android:textColor="#ccc"
android:shadowColor="#000"
diff --git a/res/layout/running_processes_view.xml b/res/layout/running_processes_view.xml
index 2e62c48..3558e92 100644
--- a/res/layout/running_processes_view.xml
+++ b/res/layout/running_processes_view.xml
@@ -60,7 +60,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
- android:layout_marginTop="-23dp"
+ android:layout_marginTop="-20dp"
android:textAppearance="?android:attr/textAppearanceSmallInverse"
android:textColor="#ccc"
android:shadowColor="#000"
diff --git a/src/com/android/settings/applications/ApplicationsState.java b/src/com/android/settings/applications/ApplicationsState.java
index c08ae5a..814bbbf 100644
--- a/src/com/android/settings/applications/ApplicationsState.java
+++ b/src/com/android/settings/applications/ApplicationsState.java
@@ -585,7 +585,7 @@
private long getTotalSize(PackageStats ps) {
if (ps != null) {
- return ps.cacheSize+ps.codeSize+ps.dataSize;
+ return ps.codeSize+ps.dataSize;
}
return SIZE_INVALID;
}