commit | 6f92b661a4c3d4a064d536fd466918b44fdacef1 | [log] [tgz] |
---|---|---|
author | Daniel Nishi <dhnishi@google.com> | Wed May 31 10:59:04 2017 -0700 |
committer | Daniel Nishi <dhnishi@google.com> | Wed May 31 11:00:51 2017 -0700 |
tree | 9c209d02c8423c48cb98b9446916098a704dbeb7 | |
parent | 552e3c4dba0bf277f266056483125ce60e4ca97e [diff] |
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