commit | 06a6184da6c2d80ea8a30f7cf827ecdfe191622d | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Sat Apr 15 12:03:31 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Sat Apr 15 12:03:34 2017 -0600 |
tree | ec1c90cbaaa3a572d66af3b713f85b3c542fc7f3 | |
parent | 11c1acc33a7402153ab0e7308bc59921165819ab [diff] |
Fix profile disk space accounting bugs. Profile data is only stored on internal storage (it doesn't move to adoptable devices), so only count it when asking about internal storage (which has a null UUID). Also fix bug where "current" profile data was being double-counted for apps. Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/pm/InstallerTest.java Bug: 36102172, 36101738 Change-Id: I22b82e8cfb3bf1be1155fb827a538c21f09d88eb