diff options
author | Kenny Root <kroot@google.com> | 2011-11-29 15:54:55 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2011-12-01 09:07:55 -0800 |
commit | ad757e9b36d6bc6b8e39be00612d0e60863aaafc (patch) | |
tree | 47f4ed2af449ef51d817d43cc434f7edb380bf53 /services | |
parent | 88f10c6ce5a97b1990934148deb8ed6aa6ef7a48 (diff) | |
download | frameworks_base-ad757e9b36d6bc6b8e39be00612d0e60863aaafc.zip frameworks_base-ad757e9b36d6bc6b8e39be00612d0e60863aaafc.tar.gz frameworks_base-ad757e9b36d6bc6b8e39be00612d0e60863aaafc.tar.bz2 |
Fix free_cache to actually work
This broke with some other path-related changes, so it was scanning for
/data/*/cache instead of /data/data/*/cache
Also remove redundant call to restat
Bug: 5686310
Change-Id: Id1661f0f1337858fc9ead53c56ab7557f421c591
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/DeviceStorageMonitorService.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/services/java/com/android/server/DeviceStorageMonitorService.java b/services/java/com/android/server/DeviceStorageMonitorService.java index d34087f..16eeb7b 100644 --- a/services/java/com/android/server/DeviceStorageMonitorService.java +++ b/services/java/com/android/server/DeviceStorageMonitorService.java @@ -163,7 +163,6 @@ public class DeviceStorageMonitorService extends Binder { } catch (IllegalArgumentException e) { // ignore; report -1 } - mCacheFileStats.restat(CACHE_PATH); EventLog.writeEvent(EventLogTags.FREE_STORAGE_LEFT, mFreeMem, mFreeSystem, mFreeCache); } |