History log of /packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
493bf348b9b44b19619e5e46470ad073f7cb24b5 29-Sep-2016 Garfield Tan <xutan@google.com> Launch other info in storage in correct user id.

Bug: 31592290
Change-Id: I816668c7ff9d1b443d4b49e17bdcfa39ef335aee
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
c0b33f70ed3f6dad8debc8df258bf94d45887cd8 09-Sep-2016 Daniel Nishi <dhnishi@google.com> Use a config flag instead of a RO flag for showing Manage Storage.

Bug: 30455784
Test: make SettingsTests; run the instrumentation.
Change-Id: I860192c1c20fcaec2a5cbcdc085ff01dafa7351a
(cherry picked from commit 7f075a3c41f02d58bae10fb3f2b4a4ad8ada8967)
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
7358b7802f7a0a86e698446b304acb4a81235e2c 31-Aug-2016 Felipe Leme <felipeal@google.com> Improved storage accounting:

- Removed duplicated entry for DIRECTORY_MOVIES.
- Added DIRECTORY_DOWNLOADS to Other.
- Added unaccounted data to Other.
- Changed Other description so it mention non-visible items.

Often sub-directories of /data are populated with data that Settings
doesn't have control of (for example, on /data/ramdump), so they're more
suitable to be displayed in the "Other" section.

BUG: 31091863
Fixes: 30952263

Change-Id: Ibf54f9dd96456575109e2e281f3780da84f70d92
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
ce37ef51aa72dc84f84a169d118d3e88de00a9c6 29-Aug-2016 Felipe Leme <felipeal@google.com> Only display System section for current user.

Otherwise it will be displayed twice on work profiles.

Change-Id: Ic7d21a57f72b9f4a254d574adce90afd7cd27b90
Test: manual verification
Fixes: 31108318
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
bf8f89687984c891901a0b52180f6c8fe695d13d 22-Jun-2016 Daniel Nishi <dhnishi@google.com> Update the deletion helper intent string.

Bug: 28675265
Change-Id: Ic56e1617d0cf66e347c3a9b31592de4737b19bb3
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
aad643caf24f6bfe7a04a0422d10102246877925 09-Jun-2016 Daniel Nishi <dhnishi@google.com> Remove the Deletion Helper and Automatic Storage Management jobs.

The automatic storage management settings have been left in place
and updated to use the intent to get into the deletion helper.

Bug: 28965462
Change-Id: I736c8e741b519eceb89075b74d42b38c3aa5d0f4
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
00748552297fe45ddf55878b3f37c79c1863afa2 14-Jun-2016 Daniel Nishi <dhnishi@google.com> Show storage manager settings using a system property.

This removes a Settings-only configuration on whether or not the
storage manager is enabled and replaced it with a system property.

Bug: 29336081
Change-Id: I2328c213f5f11f89bf0fe61e77d3062459036fc3
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
ff162a3c2335c5b29e7b54586eb47e0cb4bb563b 11-May-2016 Felipe Leme <felipeal@google.com> Display total storage for Internal shared storage.

Prior to this change, Settings was using
volume.getPath().getTotalBytes() to calculate the total, which includes
the user-accessible storage, but not the internal partitions. As such,
the total displayed was often missing many GBs (for example, in a 32GB
device, it could display "12.09GB of 25.01GB used".

This change fix this problem by using the total size and creating a
"System" section containing the "missing" storage.

BUG: 24128505

Change-Id: Ic35cd7c8406eff16ac1d97c4b4c233ecde64a6e1

** Cherrypicked from master - DO NOT MERGE **
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
728eebe3c01f23f619da92cf0055e5bf6339c82e 26-May-2016 Daniel Nishi <dhnishi@google.com> Hide the Deletion Helper entry points from Settings.

Remove the menu item which enters the Deletion Helper fragment.
The deletion helper can still be accessed if storage management is
enabled in the storage management settings.

Bug: 28967987
Change-Id: Iff4730998edbab5889b2b8e23b6ad260ae0c0359
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
ba03d2ff211ee6bcaff40b9e4b098162e76d2ec5 20-May-2016 Daniel Nishi <dhnishi@google.com> Update the storage manager settings to match the mocks.

Bug: 28560570
Change-Id: I0f218da1d23b687e38c52b5a927f7b84645958c7
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
0216e9dc2e10e8622faceec7740e83b0c10797f9 16-May-2016 Daniel Nishi <dhnishi@google.com> Add an upsell dialog to activate the storage manager.

After a manual clear, the user will be prompted to turn
on the storage manager, if it is turned off. The prompt
will only show up after certain defined delay times and
stop showing up entirely if denied enough times.

Currently, the dialog does not actually turn on the storage
manager because the storage manager is not yet landed.

Bug: 28801159

Change-Id: I3c221786d08a7102b3b5357416ab12692d1894cf
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
116a55cdabccb86e0c9a2548eebeb72b7d7d387e 11-May-2016 Daniel Nishi <dhnishi@google.com> Add the automatic storage manager settings.

This provides a toggle for changing if the storage manager
is turned on or off and how many days of data to retain.

It is currently not hooked up to anything currently and only acts as
the view, pending b/28600825.

Bug: 28560570
Change-Id: Iaa2d819f26addab4dc02ced80e9ba79e0fcf0980
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
23c69bb59fa0eb76d9c5e0b6cfeb0af066b4c42d 13-May-2016 Felipe Leme <felipeal@google.com> Merge "Fixed calls to update() when configuration changed." into nyc-dev
am: f4f2211b13

* commit 'f4f2211b1364422abec41e056af77c03247c3f4e':
Fixed calls to update() when configuration changed.

Change-Id: Ia35d89560fe2dd51d1c0dc8da3d1209c2cb03622
6ebd561960fd2fb5a987b384e39ff168d4470445 12-May-2016 Felipe Leme <felipeal@google.com> Fixed calls to update() when configuration changed.

update() is an expensive operation and should only be called
once under normal circumstances (it still needs to be called due to external changes). In particular, it should not be called again on orientation changes.

The first approach to solve the orientation change caused the volume title to not be shown when the screen changed on multi window environments; the fix for title issue caused the update to be called again on configuration changes.

This change properly fixes both issues by removing the onAttach() / onDetach() methods and using a clearer variable (mNeedsUpdate) to avoid future regressions.

BUG: 24508289
BUG: 27989238
Change-Id: I140f5a541cda293f1c476d3b80a5bc8918e18b08
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
b84304d4e610eef74cd844254e489962969840c2 11-Apr-2016 Daniel Nishi <dhnishi@google.com> Add a deletion helper view for clearing space.

This view provides an interface which allows users to clear out
apps and other data which they may no longer need to alleviate
storage pressure. This implementation gives the bits to uninstall
apps which have not been used within the last 60 days from the
system.

A future patch will add in the ability to extend the deletion helper
view to have additional clearing types.

Change-Id: I65cba54ca247d52227e67e2fa9b84fe63fb8ab34
(cherry picked from commit a671272bf6a48c2b25e4c3f6e823753df674506f)
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
f3446f98d5886585f959a372a347af20139540da 20-Apr-2016 Jason Monk <jmonk@google.com> Fix storage title clearing in multi-window

By accurately tracking detached state.

Change-Id: If9d60000f7737c834afde680d15a2af21f7e3165
Fixes: 27989238
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
3f4ac54c777d33ba7c91fad3b2b246a0f681909c 13-Apr-2016 Suprabh Shukla <suprabh@google.com> Clearing cache for managed profile apps

Added code to loop over all the child profiles and delete application
cache files for them, when clearing cache from Settings->Storage

Bug: b/25338468
Change-Id: I87dba56218402be44b71a009e93b2e93f48a574c
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
9d1bfd1e8de6e46137a9571507c03526880d6a46 27-Jan-2016 Chris Wren <cwren@android.com> port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
0c851297b48454209fc5db0e618bd242504fdef6 18-Nov-2015 Ben Kwa <kenobi@google.com> Rename ACTION_BROWSE_DOCUMENT_ROOT -> ACTION_BROWSE

BUG=23137963

Change-Id: I32e995b4421de4c90faa4e80a095c7df2f7aee25
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
dc4dbbdb49a46c35637c57f2564aa6ed223552b4 10-Nov-2015 Felipe Leme <felipeal@google.com> Set key when Explore preference is created, otherwise tapping it will cause a NPE.
BUG: 25597961

Change-Id: I1e2fc8caa961e1054472b46cbeb6aad407a1f91a
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
157ec2f09a5f9e77922827f81d08c42197a92d0e 04-Nov-2015 Felipe Leme <felipeal@google.com> Change workflow so update() is not called when the device changes orientation.
BUG: 24508289

Change-Id: I7929aac953741a19f5bc4ffbbb9929a9a2f6104e
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
edf038205e875ef7139cb05b9ace7da6b73501ab 14-Aug-2015 Jeff Sharkey <jsharkey@google.com> am a334d530: am b38493cc: am b0f9e9d4: am 82fee7bd: am b4158f0e: Merge "Only offer migration between private volumes." into mnc-dev

* commit 'a334d53025fbbf187f5aad5abf61091f9c994e01':
Only offer migration between private volumes.
6f52ed3332e1e8f13eeb5e95c7439ee5737343bd 14-Aug-2015 Jeff Sharkey <jsharkey@android.com> Only offer migration between private volumes.

Without this change, there is a confusing option to migrate a public
SD card volume to internal storage, which will always fail if the
user picks it, since it's not supported under the hood.

Bug: 22966671
Change-Id: Id7cad07eea6583aace398a6d64383bf7d884ae9e
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
c9a811619bab37f8507d8324c27e9596dd4ba051 30-Jul-2015 Jeff Sharkey <jsharkey@google.com> am 31566703: am 600cfe2f: am a61c803e: am 7f3026c3: am bb9d6b90: Merge "Refresh after clearing, tweak warn threshold." into mnc-dev

* commit '3156670323c2c909a05215c464181db44abbe991':
Refresh after clearing, tweak warn threshold.
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/PrivateVolumeSettings.java
02da7d3b11ee828a1e72aa55825db1854d315428 15-Jul-2015 Jason Monk <jmonk@google.com> am 64570b2b: am 06e549fa: am eb37daff: am b6cb215c: am cd075edf: Merge "Fix Help menu for PrivateVolumeSettings" into mnc-dev

* commit '64570b2b70afecad5936f6a39c09023ff6c1a625':
Fix Help menu for PrivateVolumeSettings
f05248f88fc43a9403246b23b456db44f0db1276 14-Jul-2015 Jason Monk <jmonk@google.com> Fix Help menu for PrivateVolumeSettings

Call super.onCreateOptionsMenu so that the auto help stuff can
work properly.

Bug: 22202745
Change-Id: Iee6b4a81574c7e981290465a78641f3c5b06c143
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
25b3876b1900c9033d7f195ab7e7721f35602fa0 14-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> am ba79dc4d: am 0998e03a: am e4e52064: am c968c407: am 098c296d: Merge "Do not throw exception when MeasurementDetails.mediaSize is empty" into mnc-dev

* commit 'ba79dc4d32e6fb909732b04b9cec562aa4a762da':
Do not throw exception when MeasurementDetails.mediaSize is empty
098c296df2388bbcc906e8e149743eea7467b0a8 13-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Merge "Do not throw exception when MeasurementDetails.mediaSize is empty" into mnc-dev
706e7014d8c3de42d5e18fcffbd07af96cc754b6 13-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Do not throw exception when MeasurementDetails.mediaSize is empty

It is legitimate for StorageMeasurement.measureExactStorage to return without any user keys
added to the returned MeasurementDetails, when the following is true:

mVolume == null || !mVolume.isMountedReadable()

Bug: 22394495
Change-Id: Ie40bd468a487208d98dc56aae41fdad7098f41a5
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
b211a5d2b925818942557d502f12995a8f58fd19 09-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> am e14e92a2: am 4dc5b67c: am b8254212: am 325ba385: am 4bbe3d1f: Update all shown preferences in Settings > Storage

* commit 'e14e92a2ceac5827e35aa62ba6a82d3f87300d50':
Update all shown preferences in Settings > Storage
4bbe3d1fb66a99bfdf4cad8f2e77df23dccebbbd 09-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Update all shown preferences in Settings > Storage

This is achieved by iterating through the pool of StorageItemPreferences up
to the index of the last shown one, instead of iterating through the
preferences of the screen which may miss preferences inside other top-level
preference groups.

Bug: 22353561
Change-Id: I2293a7949a5becfb506d6b7965f8db2f11845756
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
df57fa52abb4ea5c4336b20c2ec5334169d3cdbc 08-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> resolved conflicts for merge of 8eade69d to master

Change-Id: Id2a2269b506c2ffa06dcfd3a02b32eced5e7632b
6a00f6cf0b82009acc85f08db0953316cef4989e 01-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Making Settings > Storage multiprofile aware

Also fixing the order of preferences there.

Bug: 22223456
Bug: 22117317
Change-Id: I9261fe46bfce518fd1ce3d0faef07cffe6869e34
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
fa7c4905d40c28927e5feaae322e7c1d07827fcb 07-Jul-2015 Jeff Sharkey <jsharkey@android.com> am fe7cea03: am 41e81016: am fe015ffe: am 355c13d2: am 66b5a58a: Merge "Fix init order so we have something to measure." into mnc-dev

* commit 'fe7cea03af1b5fca75a0e8931945c8e288a5d7ae':
Fix init order so we have something to measure.
d17921337d3deac9e9ff22ab3cef54e1fa97025f 07-Jul-2015 Jeff Sharkey <jsharkey@android.com> am b126a4ea: am 084dd048: am fc963764: am bdb64bf1: am 7616b00b: Merge changes from topic \'mig\' into mnc-dev

* commit 'b126a4ea4abffecd9580b1c56cde22f58e7f742d':
Fix some ordering, colors, and accessibility bugs.
Handle missing migration source volume.
215fa65c10ce64af46f13f6c5a7b2d05c3ea28de 06-Jul-2015 Jeff Sharkey <jsharkey@android.com> Fix init order so we have something to measure.

Otherwise we start measuring without shared storage in place, meaning
we always find sizes of 0.

Bug: 22231501
Change-Id: I760064684e76e5ef5cce351aee1d81a971f4d4ea
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.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/PrivateVolumeSettings.java
c22816362c727889781fd32436eb68cdd4031054 02-Jul-2015 Daichi Hirono <hirono@google.com> Show bar graphs for internal storage items (Apps, images, video etc.).

BUG=21898434

Change-Id: I8285088c7bef82bbd63fa38d6a95180079acd195
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
665094c9d20aabe4c688ecd11537dceafe22efe1 17-Jun-2015 Jeff Sharkey <jsharkey@android.com> Actually gracefully finish this time around.

Also fix tinting on front-door icon.

Bug: 21403958
Change-Id: I74f0372a41b92235abe10391f36d9f6a1e6a40c5
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
e79ff145f3da966262d050898125c51f4bdc75e4 17-Jun-2015 Jeff Sharkey <jsharkey@android.com> Gracefully finish when missing volume.

Bug: 21403958
Change-Id: Icb78bb633842571c4df696c9db72a5b97ece0655
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
2597625fd9704ff9eab94987d332378f806dae83 16-Jun-2015 Jeff Sharkey <jsharkey@android.com> More storage UI updates.

Storage volumes now have headers with larger fonts and progress bars
to show used versus free space. Updated Memory to use new formatting
template, and Data Usage to use consistent display logic.

Allocate a unique color for each private volume, and yell when a
volume is running low on space. Update private volume details to
launch into MediaStore-backed storage backends in a management mode,
and only show detailed items when hosting emulated storage. Show
details dialog about "Other" and user storage items.

Shortcut into single private volume when it's the only device. Add
real eject icon.

Bug: 21756698, 20275574, 21326612
Change-Id: If3ecd1d912d3e709c09d3e4da24f368e04dd3f9d
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.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/PrivateVolumeSettings.java
7000d5433880b736bd67cbb44f66df771b64ee1b 13-May-2015 Nick Kralevich <nnk@google.com> New UI for controlling USB

Create a new UI for managing USB access control. This UI is implemented
as a transparent popup triggered by a persistent notification.

Delete the old UI for controlling this. It is no longer used.

Bug: 18905620
Change-Id: I54186961414447a9d37f68e946e1c167506170ae
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.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/PrivateVolumeSettings.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/PrivateVolumeSettings.java
d325f5d53cfad674b5284e23702410629de75d0a 24-Apr-2015 Tony Mantler <nicoya@google.com> Move StorageMeasurement to SettingsLib

Change-Id: I00335fe896ef1bae11c382592eea2a354269818a
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
90daa80c5bf3fdba3489be776640018ca578d955 19-Apr-2015 Jeff Sharkey <jsharkey@android.com> Use new VolumeInfo helper methods.

Makes it clearer if we're checking for readable/writable state,
and puts emulated/private conversion logic in single place.

Bug: 19993667
Change-Id: I953f5c184ca62afc631d855e64cd8a4972320148
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
02a310d8c9c5de9b0dad2ac2bc7d6d964b94583b 16-Apr-2015 Jason Monk <jmonk@google.com> Filter app list by storage volume

(when coming from storage settings)

Bug: 19989309
Change-Id: I932b67d25b5c9305067969ba13acb1a9f78e6cdb
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
7bc9235aaa6d8b68119f7635214fe9d72d4a7c42 15-Apr-2015 Jeff Sharkey <jsharkey@android.com> Avoid a few crashes around unmounting.

Also refresh UI when metadata changes.

Bug: 19993667
Change-Id: Ib0ea9be68a3db5c71d15fae6809f31df43fd9af0
/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.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/PrivateVolumeSettings.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/PrivateVolumeSettings.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/PrivateVolumeSettings.java
42833b2ff4d7a26dd9a609d2fd4436d9a26f28b5 12-Apr-2015 Jeff Sharkey <jsharkey@android.com> Checkpoint of new storage UI.

Top-level storage UI now shows list of all devices, both internal
and adopted/private volumes, and public/shared volumes.

When viewing a private volume, show traditional clustering of data
types, including summary of other users. For adopted volumes, any
actions are tucked away in a menu, since they're not primary. Misc
files browsing is now provided by DocumentsUI.

Teach StorageMeasurement about new private volumes, including
handling emulated volumes stacked above them. When measuring, only
consider apps actually hosted on the current volume UUID.

When viewing a public volume, we default to launching into file
management mode, and offer a simple eject button at the top-level
view. File management mode is offered by new DocumentsUI browse
intent, and a Settings link there redirects back to us for actual
operations like ejecting/formatting. When unmounted, we launch
into our action view.

Actions like ejecting/formatting just show simple toasts for now.

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