Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e34f239 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

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

Change-Id: If26aeaed7572354feca7b8e65b7451a024a10266
parent a640fb4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -585,7 +585,7 @@ public class ApplicationsState {

    private long getTotalSize(PackageStats ps) {
        if (ps != null) {
            return ps.cacheSize+ps.codeSize+ps.dataSize;
            return ps.codeSize+ps.dataSize;
        }
        return SIZE_INVALID;
    }