OSDN Git Service

Refresh after clearing, tweak warn threshold.
authorJeff Sharkey <jsharkey@android.com>
Thu, 30 Jul 2015 18:30:13 +0000 (11:30 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 30 Jul 2015 18:51:47 +0000 (11:51 -0700)
commitf99b424f3b147ed165a28d4124362f0e53cadf53
tree0004c52d38a231496fafb5117aab69e9d8bd6176
parent2a56d7f23b4ef87ffb44ab6fcc4fbae6283a3242
Refresh after clearing, tweak warn threshold.

Refresh UI after clearing cache.  Hide user header on single-user
devices to match UX spec.  Refine adopted storage warning threshold
based on experiments with various devices.

For example, a typical internal storage device runs the benchmark
in about 600ms.  Very fast SD cards take about 1700ms, moderate speed
SD cards take about 3800ms, and slow SD cards take about 6800ms.

Bug: 2234590222487370
Change-Id: I6066f3b78dbb32277ae94b79e325500724f83c7e
src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
src/com/android/settings/deviceinfo/StorageWizardBase.java
src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java