Daniel Nishi
6f92b661a4
Fix a bug where cache was double-counted.
...
Cache was being counted as cache and also as data in the app info page.
This is due to a faulty assumption I made that getDataBytes() and
getCacheBytes() measured distinct areas of storage (in actuality,
getCacheBytes() is a subset of getDataBytes()). This improper assumption
also led to the unit test being incorrect.
Change-Id: I4144d50800f82feaecb7a0a8dff26be3e4f14da8
Fixes: 62182151
Test: Settings robotest & manual
2017-05-31 11:00:51 -07:00
..
2017-05-18 17:36:59 +00:00
2017-04-26 20:50:15 -07:00
2017-05-30 11:39:39 +01:00
2017-04-04 08:30:38 -07:00
2017-01-24 10:50:54 -08:00
2017-01-24 10:50:54 -08:00
2017-05-11 18:01:49 -07:00
2017-05-11 18:37:47 -07:00
2017-05-05 14:53:32 -07:00
2015-10-13 10:12:20 -04:00
2017-04-20 13:45:23 -07:00
2017-02-15 17:17:19 -08:00
2017-04-18 21:34:13 +00:00
2016-11-08 14:06:17 +00:00
2017-04-27 13:29:13 +02:00
2017-04-27 13:29:13 +02:00
2017-04-27 13:28:55 +02:00
2017-02-15 17:17:19 -08:00
2016-12-05 17:13:33 -08:00
2016-11-30 13:24:54 -08:00
2016-12-05 17:13:33 -08:00
2015-04-07 15:03:57 -04:00
2017-05-05 14:53:32 -07:00
2016-02-24 08:55:01 -05:00
2017-03-20 19:24:24 -07:00
2016-12-20 13:07:04 -05:00
2016-09-26 13:22:04 -07:00
2016-04-21 14:45:37 +01:00
2016-04-08 13:02:48 -04:00
2015-10-13 10:12:20 -04:00
2015-12-22 19:38:30 +00:00
2017-05-31 11:00:51 -07:00
2017-05-31 11:00:51 -07:00
2017-03-27 14:34:56 -07:00
2015-10-13 10:12:20 -04:00
2017-04-27 13:28:55 +02:00
2017-04-27 13:28:55 +02:00
2017-04-27 15:10:02 +00:00
2017-04-27 15:10:02 +00:00
2016-12-05 17:13:33 -08:00
2017-03-09 18:10:59 -08:00
2017-03-13 09:19:04 -07:00
2017-02-15 17:17:19 -08:00
2017-04-05 17:55:24 -07:00
2017-04-27 13:29:13 +02:00
2017-04-01 02:58:00 +00:00
2017-04-17 14:29:15 -06:00
2017-01-25 11:56:02 -08:00
2017-04-27 13:28:55 +02:00
2017-05-24 10:12:13 -07:00
2015-10-13 10:12:20 -04:00
2017-04-27 13:29:13 +02:00
2017-05-05 14:53:32 -07:00
2017-05-05 14:53:32 -07:00
2017-04-20 15:52:12 -07:00
2016-06-21 11:23:39 -07:00
2015-10-13 10:12:20 -04:00
2017-05-25 14:23:29 -07:00
2017-04-12 07:03:34 -07:00
2017-04-17 14:29:15 -06:00
2017-03-31 09:26:12 +00:00
2017-04-06 13:57:00 -07:00
2017-04-06 13:57:00 -07:00
2017-03-20 17:19:30 +00:00
2017-03-20 17:19:30 +00:00
2017-01-18 10:54:19 -08:00
2017-02-15 17:17:19 -08:00
2017-04-18 21:34:13 +00:00
2016-12-05 17:13:33 -08:00
2016-10-11 16:45:57 -07:00
2016-11-08 14:06:17 +00:00
2016-11-08 14:06:17 +00:00
2016-05-11 14:22:05 -07:00
2016-08-22 19:39:10 +00:00
2016-11-30 13:24:54 -08:00
2017-03-24 17:26:33 -07:00
2017-03-24 17:26:33 -07:00
2017-04-11 13:41:31 -07:00
2017-04-11 13:41:31 -07:00
2016-11-08 14:06:17 +00:00
2017-05-05 14:53:32 -07:00
2017-02-15 17:17:19 -08:00
2015-10-13 10:12:20 -04:00
2016-11-08 14:06:17 +00:00
2017-04-26 11:18:44 -07:00
2017-01-18 10:54:19 -08:00
2017-04-27 13:29:13 +02:00
2017-04-07 14:57:07 -07:00
2017-02-21 12:07:23 -08:00
2017-01-18 10:54:19 -08:00
2017-01-18 10:54:19 -08:00