diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-07-12 15:20:13 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-07-12 16:26:44 -0700 |
commit | 1f6ddac9f41f341073e7cedd8f777a43b7d11679 (patch) | |
tree | 7d2653082b73abea309a394983516ced73fa97e0 /src/com/android/settings/applications/ManageApplications.java | |
parent | bff90a97555518ed850bd320623e37984ca71a6a (diff) | |
download | packages_apps_Settings-1f6ddac9f41f341073e7cedd8f777a43b7d11679.zip packages_apps_Settings-1f6ddac9f41f341073e7cedd8f777a43b7d11679.tar.gz packages_apps_Settings-1f6ddac9f41f341073e7cedd8f777a43b7d11679.tar.bz2 |
If external storage is emulated, don't show it as separate entries.
The installed app details UI is really complicted for the two-partition
internal and external storage case... however, in our lovely new world
of emulated external storage, there is no reason for this, since the
external storage is using the same partition as internal storage. So
in this case, don't show external storage as a separate item, just
combine it into the base app size and data size values.
Change-Id: Iea0e78f2d532ad50e20fef98740c93b2e897890a
Diffstat (limited to 'src/com/android/settings/applications/ManageApplications.java')
-rw-r--r-- | src/com/android/settings/applications/ManageApplications.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/applications/ManageApplications.java b/src/com/android/settings/applications/ManageApplications.java index 1cc9dcc..1240d43 100644 --- a/src/com/android/settings/applications/ManageApplications.java +++ b/src/com/android/settings/applications/ManageApplications.java @@ -341,7 +341,8 @@ public class ManageApplications extends Fragment implements final int N = mApplications.getCount(); for (int i=0; i<N; i++) { ApplicationsState.AppEntry ae = mApplications.getAppEntry(i); - mAppStorage += ae.externalCodeSize + ae.externalDataSize; + mAppStorage += ae.externalCodeSize + ae.externalDataSize + + ae.externalCacheSize; } } } else { |