From ad757e9b36d6bc6b8e39be00612d0e60863aaafc Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Tue, 29 Nov 2011 15:54:55 -0800 Subject: 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 --- services/java/com/android/server/DeviceStorageMonitorService.java | 1 - 1 file changed, 1 deletion(-) (limited to 'services') 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); } -- cgit v1.1