summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/deviceinfo
Commit message (Collapse)AuthorAgeFilesLines
* Making Settings > Storage multiprofile awareZoltan Szatmary-Ban2015-07-072-161/+209
| | | | | | | | Also fixing the order of preferences there. Bug: 22223456 Bug: 22117317 Change-Id: I9261fe46bfce518fd1ce3d0faef07cffe6869e34
* Fix init order so we have something to measure.Jeff Sharkey2015-07-061-3/+3
| | | | | | | | Otherwise we start measuring without shared storage in place, meaning we always find sizes of 0. Bug: 22231501 Change-Id: I760064684e76e5ef5cce351aee1d81a971f4d4ea
* Fix some ordering, colors, and accessibility bugs.Jeff Sharkey2015-07-056-49/+91
| | | | | | | | | | | | 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
* Handle missing migration source volume.Jeff Sharkey2015-07-052-2/+11
| | | | | | | | Users can try migrating primary storage while the current location is missing/unmounted. Fail gracefully instead of runtime restarting. Bug: 21927076 Change-Id: I54b92487faf9e62d5d309734bf4c436a9259d156
* Merge "Only allow admin users to adopt sd card as internal storage." into ↵Amith Yamasani2015-06-302-2/+20
|\ | | | | | | mnc-dev
| * Only allow admin users to adopt sd card as internal storage.Amith Yamasani2015-06-302-2/+20
| | | | | | | | | | Bug: 21883016 Change-Id: I11ca324ab74ce2a8bf13064b4c7735aea132c562
* | Make sure Fragments are public for FragMan to instantiateMakoto Onuki2015-06-252-3/+3
|/ | | | | | Bug 21990428 Change-Id: If2dd5e43a4cc73ccf60278fdab874516c7fc181b
* Remove while box at the top right of storage setup wizard.Daichi Hirono2015-06-251-2/+2
| | | | | | | | The CL specify correct ID for the tile asset. BUG=22049781 Change-Id: Ib7800487518e017fab1110fde5d70cc35bceffb7
* Merge "Don't crash on NameNotFoundException" into mnc-devMakoto Onuki2015-06-171-1/+2
|\
| * Don't crash on NameNotFoundExceptionMakoto Onuki2015-06-171-1/+2
| | | | | | | | | | | | | | | | Just finish(). Bug 20672468 Change-Id: Ic600e060990b7e3bc3e98bda63d0f4c9e530fb94
* | Merge "Actually gracefully finish this time around." into mnc-devJeff Sharkey2015-06-173-33/+41
|\ \ | |/ |/|
| * Actually gracefully finish this time around.Jeff Sharkey2015-06-163-33/+41
| | | | | | | | | | | | | | Also fix tinting on front-door icon. Bug: 21403958 Change-Id: I74f0372a41b92235abe10391f36d9f6a1e6a40c5
* | Merge "Gracefully finish when missing volume." into mnc-devJeff Sharkey2015-06-162-2/+12
|\|
| * Gracefully finish when missing volume.Jeff Sharkey2015-06-162-2/+12
| | | | | | | | | | Bug: 21403958 Change-Id: Icb78bb633842571c4df696c9db72a5b97ece0655
* | Merge "Finish storage wizard theming." into mnc-devJeff Sharkey2015-06-1611-29/+79
|\|
| * Finish storage wizard theming.Jeff Sharkey2015-06-1611-29/+79
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Allow formatting when a partition is corrupt." into mnc-devMakoto Onuki2015-06-161-1/+2
|\ \ | |/ |/|
| * Allow formatting when a partition is corrupt.Makoto Onuki2015-06-161-1/+2
| | | | | | | | | | | | Bug 21848166 Change-Id: Ied8efaa1320c49a01ae08f19461bf125b3ffa97f
* | More storage UI updates.Jeff Sharkey2015-06-157-235/+315
|/ | | | | | | | | | | | | | | | | | 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
* New storage dialogs.Jeff Sharkey2015-06-148-37/+234
| | | | | | | | | | | | | | | 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
* Merge "Let UsbDeviceManager choose the appropriate function default" into ↵Nick Kralevich2015-06-131-1/+1
|\ | | | | | | mnc-dev
| * Let UsbDeviceManager choose the appropriate function defaultNick Kralevich2015-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | Rather than hardcoding MTP as the appropriate default when the user selects "Charger Only", call UsbDeviceManager.setCurrentFunction(null). Null is intended to restore the default function, which is appropriate for charging only. Bug: 21429947 Change-Id: I9ee633bcf2f95f9937861c234ab044873202d41b
* | Merge "Add simple null checks to StorageWizard*, also listen to..." into mnc-devMakoto Onuki2015-06-1210-15/+59
|\ \ | |/ |/|
| * Add simple null checks to StorageWizard*, also listen to...Makoto Onuki2015-06-1210-15/+59
| | | | | | | | | | | | | | | | the disk destroyed event. Bug 21336042 Change-Id: I9f53501a6122a4a9046774e3c4c08b5d6d6f8552
* | Always round migration times up to 1 second.Jeff Sharkey2015-06-111-0/+1
|/ | | | | Bug: 21755250 Change-Id: I4e5eef493f2f923d0bcf110133e862c4a4a7db8b
* Follow string refactoring.Jeff Sharkey2015-06-101-1/+1
| | | | Change-Id: Ib450724a20283a3bf356593e487b8ee6e9c8de5c
* Fix USB access control when adb is disabled.Nick Kralevich2015-06-101-2/+8
| | | | | | | | | | | | | | | | | | When adb is disabled, the default usb mode would be "none", which would turn off the driver and prevent UsbDeviceManager from receiving any new USB connect / disconnect messages. This prevents the user from ever enabling MTP and sharing data when adb is turned off. As discussed in bug 21429947, we work around this problem by keeping the USB driver in MTP mode most of the time, so that we continue to receive USB connect / disconnect messages. To avoid leaking confidential user photos, we now explicitly unlock USB data after switching into MTP/PTP mode. Enabling MTP mode is now decoupled from exposing data on the USB connection. Bug: 21429947 Change-Id: Id8e9df4ac42fdcf22cc5b75b838bf46f6c225081
* Merge "Warn user when adopted device is slow." into mnc-devJeff Sharkey2015-05-191-35/+90
|\
| * Warn user when adopted device is slow.Jeff Sharkey2015-05-191-35/+90
| | | | | | | | | | | | | | | | For now, warn user if benchmark takes longer than a simple threshold of 2 seconds. Bug: 21172095 Change-Id: I6d43ee93ac2ff669115519e6a856f8c314915a47
* | Monkey should not be allowed to switch USB modeGuang Zhu2015-05-191-1/+5
|/ | | | Change-Id: Ifb4865d234e0d9e6453f88d37c12744b9daefa62
* Merge "Initial pass at storage benchmarks." into mnc-devJeff Sharkey2015-05-151-1/+17
|\
| * Initial pass at storage benchmarks.Jeff Sharkey2015-05-141-1/+17
| | | | | | | | | | | | | | | | After adopting a disk, run benchmarks to compare its performance against internal storage. Bug: 21172095 Change-Id: I7c9a5a89e37f7156677fc76bd1ba193eead6665e
* | New UI for controlling USBNick Kralevich2015-05-134-213/+105
|/ | | | | | | | | | 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
* Merge "Fix Signal strength display issue in Settings." into mnc-devSanket Padawe2015-05-081-0/+7
|\
| * Fix Signal strength display issue in Settings.Sanket Padawe2015-05-081-0/+7
| | | | | | | | | | Bug: 20821065 Change-Id: Ib98e7b80f5ee331ef0adb8df706bb697f9fff008
* | Fix SimStatus crash in Settings.Sanket Padawe2015-05-051-13/+17
|/ | | | | Bug: 20862873 Change-Id: I1ae60ceb64a8af8b3f875e50dd62dfe9796192ca
* Returning to wizard, enable migration.Jeff Sharkey2015-04-2912-68/+264
| | | | | | | | | | | | | 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
* Format as public/private; follow refactoring.Jeff Sharkey2015-04-2810-95/+151
| | | | | | | Offer to format an empty disk as public/private. Bug: 19993667 Change-Id: I69fafaed524f3ef5e65d04a9e3a94789fcfc3087
* Migrate package movement to use new API.Jeff Sharkey2015-04-232-81/+54
| | | | | | | | | | | | We now kick off the move immediately, and pass along the "ID" of the move in progress. This allows the progress activity to be completely destroyed and recreated without kicking off a second conflicting move operation. Also uses new cleaner movement API that accepts direct VolumeInfo. Bug: 19993667 Change-Id: I28bc268fcb42dfc9152020b16ef7058d63157597
* Move StorageMeasurement to SettingsLibTony Mantler2015-04-232-443/+3
| | | | Change-Id: I00335fe896ef1bae11c382592eea2a354269818a
* Merge "Use disk directly from volume in storage wizard."Jeff Sharkey2015-04-211-1/+1
|\
| * Use disk directly from volume in storage wizard.Jeff Sharkey2015-04-191-1/+1
| | | | | | | | | | | | | | | | Otherwise we're upset moving apps back to internal storage, which is a private volume without a disk. Bug: 19993667 Change-Id: I59e78bf13e14a68b0f4f1c6cbee35f6f7fd8d6ca
* | Merge "Correct the way settings deals with subscriptions."Stuart Scott2015-04-202-17/+6
|\ \
| * | Correct the way settings deals with subscriptions.Stuart Scott2015-04-082-17/+6
| | | | | | | | | | | | Change-Id: I19e9dfaf248fce7376b124ee91de7e73fdc99fb3
* | | Use CONNECTIVITY_ACTION instead _IMMEDIATEErik Kline2015-04-201-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | With the demise of the connectivity change delay CONNECTIVITY_ACTION and CONNECTIVITY_ACTION_IMMEDIATE are issued back to back. CONNECTIVITY_ACTION_IMMEDIATE is being reaped. Bug: 20013379 Change-Id: I71d1752cf3b2ebc377127c5fb7bf0864da9a860a
* | Use new VolumeInfo helper methods.Jeff Sharkey2015-04-185-19/+16
| | | | | | | | | | | | | | | | 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
* | Filter app list by storage volumeJason Monk2015-04-161-3/+10
| | | | | | | | | | | | | | (when coming from storage settings) Bug: 19989309 Change-Id: I932b67d25b5c9305067969ba13acb1a9f78e6cdb
* | Move packages between candidate volumes.Jeff Sharkey2015-04-153-17/+207
| | | | | | | | | | | | | | | | | | We now allow moving packages between all possible candidate volumes, as determined by the framework. Moving now jumps through wizard to help user understand what's going on. Bug: 19993667 Change-Id: I5416ed2865f400b1d718c68a3f0e033080fefa0e
* | Avoid a few crashes around unmounting.Jeff Sharkey2015-04-143-13/+29
| | | | | | | | | | | | | | Also refresh UI when metadata changes. Bug: 19993667 Change-Id: Ib0ea9be68a3db5c71d15fae6809f31df43fd9af0
* | Storage accessors; persist nickname, flags.Jeff Sharkey2015-04-1415-63/+83
| | | | | | | | | | | | | | | | | | | | | | 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