OSDN Git Service

Change storage migration to use quota APIs.
authorJeff Sharkey <jsharkey@android.com>
Thu, 6 Jul 2017 17:29:24 +0000 (11:29 -0600)
committerJeff Sharkey <jsharkey@android.com>
Thu, 6 Jul 2017 17:29:26 +0000 (11:29 -0600)
commitfc522c677d2bcb4835f799b39993c69f4c222e55
tree6b0b21a2b4cc04bd3e904128e3a3ba269b68a089
parent08da5d84c009eb8de2d234ca3b5cd5b9a3fe72f5
Change storage migration to use quota APIs.

New quota APIs are much faster than trying to measure manually, and
removing this last user of calculateDirectorySize() means we can
remove it once and for all.

Bug: 36056324
Test: builds, boots
Change-Id: Icdf774cff520a4b7ca6ec210b34a1c5ff85f8110
src/com/android/settings/deviceinfo/MigrateEstimateTask.java