OSDN Git Service

Search both CE/DE storage when clearing caches.
authorJeff Sharkey <jsharkey@android.com>
Tue, 10 May 2016 23:21:13 +0000 (17:21 -0600)
committerJeff Sharkey <jsharkey@android.com>
Tue, 10 May 2016 23:32:26 +0000 (17:32 -0600)
commit54e292e1ea87b504b552393d2e9bc800458bd0c1
treeea4a07db26d98824ace7b25ef86e68d93cd6e885
parentf96fff5015f6823c9fde7fa603bb58ee05c5c242
Search both CE/DE storage when clearing caches.

Now that we have two data storage locations, we need to scan them
both when freeing up disk space.  Clean up logic to use new
get_known_users() API.

Bug: 26056125
Change-Id: Ic05c0022d6f5eb438967b69402b1900678f3858b
cmds/installd/commands.cpp
cmds/installd/utils.cpp
cmds/installd/utils.h