summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/22/changes
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-03-11 19:44:16 -0700
committerJeff Sharkey <jsharkey@android.com>2017-03-11 19:45:32 -0700
commit82add8a7145c864ce8a604e145ed6abcaa4640b4 (patch)
tree25d65a8fba9d912390a998830a1f264961201fc4 /docs/html/sdk/api_diff/22/changes
parentbd5e5e0d75b6c1dbca0da2d40e96c18f94e07ac4 (diff)
Fix two storage measurement bugs.
First, every time installd starts up we need to invalidateMounts() to ensure we have valid mappings for quotactl() to work. (Without this forced invalidation, we were falling back to manual calculation after an installd restart.) Second, when calculating the disk space for an app, we need to use the real appId deconstructed from the uid; oops! (Without this we were always trying to calculate the disk usage for UID 0, which forced us back into the slow-path.) Bug: 36032444, 35706513 Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/pm/InstallerTest.java Change-Id: I1ca55e2b7670678ed55798e2e06857d727ce2487
Diffstat (limited to 'docs/html/sdk/api_diff/22/changes')
0 files changed, 0 insertions, 0 deletions