Merge "Recheck the storage sizes when Storage settings is resumed."

This commit is contained in:
Amith Yamasani
2011-01-05 09:55:44 -08:00
committed by Android (Google) Code Review

View File

@@ -217,6 +217,7 @@ public class Memory extends SettingsPreferenceFragment implements OnCancelListen
intentFilter.addDataScheme("file");
getActivity().registerReceiver(mReceiver, intentFilter);
mMeasurement.invalidate();
if (!Environment.isExternalStorageEmulated()) {
mMeasurement.measureExternal();
}