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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|