History log of /packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cabb62faf327fc7982d0b7f9922d21514c169f07 14-Oct-2015 Jeff Sharkey <jsharkey@android.com> Bail if activity was destroyed.

Bug: 24172045
Change-Id: I723951b3478459fc70e29d25386f8d7197964e3d
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
0814827e8fac983e82169c13b7136156f484e44b 14-Aug-2015 Jeff Sharkey <jsharkey@android.com> Show storage slow dialog allowing state loss.

We're not picky about losing state here, since the adoption actually
finished under the hood and we're just warning the user that it's
slow.

Without this change, we could end up throwing and re-adopting the
same device twice, which causes issues on sprout-style devices that
only migrate primary storage once.

Bug: 22867250
Change-Id: I1491679ab802f19fe25b82e9b452ca3dabdfec0d
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
f99b424f3b147ed165a28d4124362f0e53cadf53 30-Jul-2015 Jeff Sharkey <jsharkey@android.com> 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: 22345902, 22487370
Change-Id: I6066f3b78dbb32277ae94b79e325500724f83c7e
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
697ff544bffba2854a8400fee1314f93caa667e5 08-Jul-2015 Jeff Sharkey <jsharkey@android.com> Move storage when formatting primary disk.

On devices where the primary storage is configured as a physical
device, and when we adopt that device, automatically move the
primary storage to be hosted on the newly created emulated volume.

Bug: 20275423
Change-Id: I759e65a01b323ef3c9ffb86d0b7c8e7b4768a45c
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
48751c1a5163ccf411009344f352abdf6e1b9684 06-Jul-2015 Jeff Sharkey <jsharkey@android.com> Fix some ordering, colors, and accessibility bugs.

When adding preferences to public/private details screens, always
add in-order when rebuilding. Hacky fix for broken summary text and
eject image color tints.

Fix crash when device rotated during partitioning. Set correct
accessibility titles in all wizard steps.

Bug: 22098044, 21376962
Change-Id: I68aff96cba497a91919cad8865722bc9cef7eaa7
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
8e987d9bfb9c69daf306c52d84d8ea480eb4d73a 16-Jun-2015 Jeff Sharkey <jsharkey@android.com> Finish storage wizard theming.

Storage wizard screens now have updated assets from UX, and various
assets are tinted consistently. We're using our own navigation bar
and wholesale replacing the layout from upstream.

Fix text colors in night mode. Tell SystemUI when we're finished
with the wizard flow.

Bug: 21830731
Change-Id: Ic8d09cc152bfb4dcc6089b5c61d28cbdd4be3ee9
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
edb7b0d9a900a4a560d0777032600b52f38efd23 15-Jun-2015 Jeff Sharkey <jsharkey@android.com> New storage dialogs.

Show a helpful dialog when a volume is unmounted or unmountable, or
when disk is unsupported. Add both missing private volumes and
unsupported disks in the storage list. Dialog to confirm when
forgetting private volume.

Finish volume detail activities when the volume becomes unmounted.

Show used space instead of free space to match string. When init'ing
a volume on non-adoptable disk, just format as public.

Bug: 21737573, 21666225, 21737666, 21471429
Change-Id: Id60d5a398e2b7923ebebdc5cfaef33248d8d77bb
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
1d37d0f7fb3c66462432d33c6db51ef79e5e7c88 12-Jun-2015 Makoto Onuki <omakoto@google.com> Add simple null checks to StorageWizard*, also listen to...

the disk destroyed event.

Bug 21336042

Change-Id: I9f53501a6122a4a9046774e3c4c08b5d6d6f8552
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
0de2014380459caa48bc278ce92cc60344f58ebd 19-May-2015 Jeff Sharkey <jsharkey@android.com> Warn user when adopted device is slow.

For now, warn user if benchmark takes longer than a simple threshold
of 2 seconds.

Bug: 21172095
Change-Id: I6d43ee93ac2ff669115519e6a856f8c314915a47
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
58003515cae7b870f80deb0c36a024e2259a4273 15-May-2015 Jeff Sharkey <jsharkey@android.com> Initial pass at storage benchmarks.

After adopting a disk, run benchmarks to compare its performance
against internal storage.

Bug: 21172095
Change-Id: I7c9a5a89e37f7156677fc76bd1ba193eead6665e
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
e77f0687dd424ccfdc2b1061221c6c8ba4d6ac8d 29-Apr-2015 Jeff Sharkey <jsharkey@android.com> Returning to wizard, enable migration.

Bring primary storage migration back into the adoption flow, and
provide a path for long-lived notifications to re-launch into the
Settings app. Also provide option to initiate migration if skipped
during wizard. For now, estmiate migration size and time based on
a Class 10 card.

Follow other callback refactoring.

Bug: 19993667
Change-Id: Ia0c28eb114bc6c8066c17b3142ed74f962140c91
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
a16257dbd5599135320f4263a2cb438b7a469084 28-Apr-2015 Jeff Sharkey <jsharkey@android.com> Format as public/private; follow refactoring.

Offer to format an empty disk as public/private.

Bug: 19993667
Change-Id: I69fafaed524f3ef5e65d04a9e3a94789fcfc3087
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
4366b565e150f3744dad66685806c55459d56c46 15-Apr-2015 Jeff Sharkey <jsharkey@android.com> Storage accessors; persist nickname, flags.

Move to using new public accessors on DiskInfo and VolumeInfo.

Persist nickname changes, and remember when user has initialized a
public volume. Also skip the migration part of storage wizard until
it's implemented.

Bug: 19993667
Change-Id: I642fb43afb95380fddd48a1dad438e87b06454da
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
2949a4ab4d342a315420ccda07c02075edccd4f0 15-Apr-2015 Jeff Sharkey <jsharkey@android.com> Follow storage refactoring in system.

Also add entry point for SystemUI unmounting, and require permissions
when launching into those flows.

Bug: 19993667
Change-Id: I703d2e5f118848a2e2e96ce1d7f970e5705a288a
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java
94635995e49ee2ab0f3640dd83b2fe680b7bd589 13-Apr-2015 Jeff Sharkey <jsharkey@android.com> Checkpoint of new storage wizards.

Use frameworks/opt/setupwizard/library/ for consistent behavior and
styling on phones and tablets. Implement every step of wizard flow
and connect them together, even though some steps are currently
non-functional. All strings to match UX spec, with some adjustment.

Wizards inherit from helper base class.

New interstitials before unmounting or formatting private storage
to confirm user knows consequences.

Bug: 19993667
Change-Id: I2c774e1718d513805ee8aecfc96d066d4730450c
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java