{"commits":[{"author":{"name":"Josh Stone","email":"b088574b93e687e020c008c16a9e3c994038e27d@gmail.com"},"sha":"f4f82527fd874c840a3f89b6d5ba12fa14608f28","message":"Monitor device storage directly in /data/data\n\nThe DeviceStorageMonitorService watches over /data, and when things get\nfull, starts deleting app cached files.  The app caches are actually\nunder /data/data, which on DINC is its own mount.  This means the\nmonitor did not notice when app cache grew too big, as it only saw the\nsize of /data proper.\n\nThis patch makes the monitor look at /data/data instead.  For DINC, this\nmeans it can properly manage app cache, but it won't notice if the upper\n/data partition is getting full.  That's not as common as /data/data\nfilling up though.  For the Samsung devices that mount a /datadata and\nthen symlink to /data/data, it should also work, as statfs dereferences\nlinks first.  For all other devices with only /data, reading statfs on\n/data/data still yields the total/free sizes of the /data partition.\n\nChange-Id: I8bf2c173ac27240dd28e2e3f46eac9f197042380","url":"https://api.github.com/repos/peteralfonso/platform_frameworks_base/commits/f4f82527fd874c840a3f89b6d5ba12fa14608f28"}],"ref":"refs/heads/gingerbread","head":"f4f82527fd874c840a3f89b6d5ba12fa14608f28","push_id":52712573,"size":1}