• Home
  • History
  • Annotate
  • only in /packages/apps/Settings/src/com/android/settings/deviceinfo/
History log of /packages/apps/Settings/src/com/android/settings/deviceinfo/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
89d56596435bdf906bac38aceb74ef3e5b709ad3 21-Jun-2016 Dan Sandler <dsandler@android.com> Show "0" instead of "0 B" in storage settings.

Two benefits:
- "0 B" might be a little confusing for sighted users
- "zero bee" is definitely confusing for TalkBack users

Nonzero storage items will still read as "640 KB" which
should be enough for anyone.

Change-Id: I5c89f7c6382ca14fb91d7d1dd145977f855618ae
Fixes: 27973778
torageItemPreference.java
c7959f91d5de34619a7276a0930c08fe3bced342 15-Jun-2016 Jason Monk <jmonk@google.com> Fix SimStatus updatePhoneInfos

Looks like we got updatePhoneInfos in the right place for IccLockSettings
but not SimStatus.

Also return the right view in onCreateView

Change-Id: Ifd4cbd93351bb05571ed5a9873e9352c7c3a2357
Fixes: 29335528
imStatus.java
fb87919fdea5833193a57772fba042a4b8b33e36 14-Jun-2016 Sanket Padawe <sanketpadawe@google.com> Fix bug in Sim Status Settings.

Bug: 29332493
Change-Id: Idd519e704ce6fdd0b92319948bdf02c0fa45ff34
imStatus.java
b7e4380cd27ffd8a060ecb61201057fb6843e408 06-Jun-2016 Jason Monk <jmonk@google.com> Remove PreferenceActivity

Its broken and isn't worth maintaining, instead port the few things
using it over to SettingsPreferenceActivity with wrapping blank
Activities like the rest of Settings.

Change-Id: Ic82f0dcb63ed9b4078f7da6a79c0c52f0130e8d1
Fixes: 28779941
meiInformation.java
imStatus.java
tatus.java
d1151c19d863fc0065939aa3998abc0b0a278cfc 26-May-2016 Derek Tan <derektan@google.com> Use getConfigForSubId instead of getConfig(int).

Per API review, we want to revert getConfig(int) to
getConfigForSubId(int) (ag/1075011). This CL changes all
callers to use getConfigForSubId(int).

Bug: 28295813
Change-Id: I0e44a5e758aed34ce26740632270700bde66cff6
imStatus.java
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
rivateVolumeSettings.java
0aed68d6b9f832491dbc381755864cd4e977fc2d 11-May-2016 Jason Monk <jmonk@google.com> Fix unmount up button

Change-Id: I24b388079c438075e3a8652822e7a2fb84fec608
Fixes: 28704198
rivateVolumeUnmount.java
e0e7fa4501214be7c2cdf0fbf3e503d54504bd3f 03-May-2016 Philip P. Moltmann <moltmann@google.com> Merge "Read disk ID from intent" into nyc-dev
0e4816efb99e28a25efecee1702c552bfb9ba849 02-May-2016 Maurice Lam <yukl@google.com> Merge "Remove top padding only if illustration is present" into nyc-dev
2fc2eb49a955284a00853e0ba1d2ba8c78f9b2fa 30-Apr-2016 Philip P. Moltmann <moltmann@google.com> Read disk ID from intent

mDisk might be null, but we can recover the disk ID from the original
Intent.

Bug: 28177789
Change-Id: Ic3e33a60084c42eb0bb06145ad50a45077e650d0
torageWizardMigrateConfirm.java
4d227268c604f8fd7172b7faf9e63ec57576ab9c 30-Apr-2016 Maurice Lam <yukl@google.com> Remove top padding only if illustration is present

Bug: 28469515
Change-Id: Ifc41b09b2b1675b696291753ff68fe4a801c76c2
torageWizardBase.java
d2549ce6635943144bde17582b825113c07aa868 29-Apr-2016 Clara Bayarri <clarabayarri@google.com> Merge "Storage Settings shows hamburger instead of back arrow" into nyc-dev
f534a66afd73cbb9fc45e28738a09e84ac3343d9 29-Apr-2016 Clara Bayarri <clarabayarri@google.com> Storage Settings shows hamburger instead of back arrow

When there is only internal storage, StorageSettings forwards
automatically to this sub settings page, causing the navigation
icon to be the back arrow. Fixed to make it a hamburger in this
case.

Bug: 28197210
Change-Id: Ief3f7daa3973332a800faa652261e2cfdec36e85
torageSettings.java
1ec941db0ce37a864b5aa1a92111e5c52953c33e 21-Apr-2016 Philip P. Moltmann <moltmann@google.com> Handling of issues while migrating primary storage

Bug: 28177789
Change-Id: Icfbd048ddf0a1d55df1e7273d49727357b98a452
torageWizardMigrateConfirm.java
torageWizardMigrateProgress.java
13d1c384e895c2cac656fd0da777cb543d996dec 20-Apr-2016 Jason Monk <jmonk@google.com> Fix sim status screen

Change-Id: Id7a98b642b006beb8dc6999176184b5d90f6b22f
Fixes: 27963774
imStatus.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
rivateVolumeSettings.java
3ae25fb520d9b3a244c2cbb8103fffa4663a2b5f 19-Apr-2016 Daichi Hirono <hirono@google.com> Add nullcheck to StorageSettings.

Change-Id: I6e3e00557c2086a265d399ea7d060d07befebdf7
Fixes: 28255655
torageSettings.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
rivateVolumeSettings.java
0127eb07f4e556f20e064db8fd2d470fb8c33dfa 11-Apr-2016 Jason Monk <jmonk@google.com> Guard against crash in SummaryProvider

Change-Id: Ieeae65e50211618dbbee3d320cae614ac5926543
Fixes: 26310547
torageSettings.java
0f6796284b869f7f2863b22f686191539f2c5e02 22-Mar-2016 Daichi Hirono <hirono@google.com> Don't close USB type notification when USB is connected to USB devices.

Previously we show a notificatino to show the UsbModeChooser when
Android is connected to another Android via USB type C cable.
However UsbModeChoooser activity was closed immediately after a user
tapped the notification, if the Android worked as host.

FIXED=27535640

Change-Id: I707dcbf1021e7381096c0ae7cc2d712892ac5a5a
sbModeChooserActivity.java
dcd0bf72b86932dcbefbb9313952cd3707226490 14-Mar-2016 Meng Wang <mewan@google.com> Show ICCID in SIM status, if CarrierConfigManager allows.

Bug: 27574058
Change-Id: I5c08d31b5e8ea3c3ad79361e660256b070ff7284
imStatus.java
115d15763d95c2f93a639ad2569037d274d46a22 07-Mar-2016 Sudheer Shanka <sudheersai@google.com> Adjust restricted lock positions as per new design.

Bug: 27263531
Change-Id: I7e38a9e3356ca43ed936de1e6f8190eba4d4773e
sbModeChooserActivity.java
5d8e963c83fd9198cb66e7fc745f9ff2a1919c44 19-Feb-2016 Sudheer Shanka <sudheersai@google.com> Merge "Part3 - Don't add padlock if the restriction is not set by admin." into nyc-dev
d36e574cfa276da934ccce0fcd911376ee5bcbf9 18-Feb-2016 Jeff Sharkey <jsharkey@android.com> Avoid division by zero in storage.

Bug: 26387833
Change-Id: I144475d4b82d91dcfd2271cd775e43d595914cef
torageItemPreference.java
9dbad57a84035642a6c174158352a2e03f88f522 17-Feb-2016 Makoto Onuki <omakoto@google.com> [Settings] Don't allow apps on external storage to be active admin

Bug 27149287

Change-Id: I7e0905228812fbc326cf4ac4984e7f59003996a8
torageWizardMoveProgress.java
9e9e63b7b3b31fcae7242eb07f528487e0913402 11-Feb-2016 Sudheer Shanka <sudheersai@google.com> Part3 - Don't add padlock if the restriction is not set by admin.

Bug: 26687435
Change-Id: Ibfea6d7d5bd32e7a05dcc2cc32b121c9e50b6a34
torageSettings.java
sbBackend.java
sbModeChooserActivity.java
9d1bfd1e8de6e46137a9571507c03526880d6a46 27-Jan-2016 Chris Wren <cwren@android.com> port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
meiInformation.java
rivateVolumeForget.java
rivateVolumeFormat.java
rivateVolumeSettings.java
rivateVolumeUnmount.java
ublicVolumeSettings.java
imStatus.java
tatus.java
torageSettings.java
d2b0fc066c9feedb988db59abd410203777a5f38 25-Jan-2016 Shishir Agrawal <shishir@google.com> Unhiding MSIM APIs.

1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: I69471769ece56dd2d505f087d2ed3b585eb4b2d0
imStatus.java
1c3fd76ee08e63d5a12387e21a59f89c431fc17a 20-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add padlock to usb modes when disabled by admin.

Change-Id: I8504febd78f083eb3ff88926fe29d69edc62b6ef
sbBackend.java
sbModeChooserActivity.java
ef550767b0b469534a94c293ea517a19778b58b0 15-Jan-2016 Sudheer Shanka <sudheersai@google.com> Trigger a support dialog when an action is disabled by policy

Change-Id: I847b481a16cce33fe7bd4040d38ec50ca62172c2
torageSettings.java
61d1838ae2bea3fce4c1aa81328986d07f784dcf 05-Jan-2016 Amith Yamasani <yamasani@google.com> Merge "Fix "division by zero" crash after USB mass storage disconnects" am: a44b4feed4
am: 4ed2bb1ba9

* commit '4ed2bb1ba93d8b5fe101c660d24898bf3ed44592':
Fix "division by zero" crash after USB mass storage disconnects
b997bd989ec68c657a0263f459545dbea50d6de3 28-Dec-2015 Xinghan Yue <xinghan.x.yue@sonymobile.com> Fix "division by zero" crash after USB mass storage disconnects

File.java will return the total size in bytes of the partition
containing the path, and if the path does not exist,
it will return 0.

Change-Id: I134d4ec787b475e38bb37b4386bafcc419971c1e
torageVolumePreference.java
bb60fe9f06ebafd53ceea80a161eae9096a1d303 23-Dec-2015 Nick Kralevich <nnk@google.com> Merge "Hide usb mode chooser dialog after disconnected" am: b913bf926e
am: 6556921a1e

* commit '6556921a1edbddea64b54415967b2bacbb7bf456':
Hide usb mode chooser dialog after disconnected
93df36a1c7ae91c304e7d7eb55462b84705a49b3 17-Dec-2015 Du, Changbin <changbin.du@intel.com> Hide usb mode chooser dialog after disconnected

Add a UsbDisconnectedReceiver to listen usb state event, and hide
the usb mode chooser dialog if usb disconnected.

Change-Id: I871f56cb5a310e20950926180d9747dd9fad9754
Signed-off-by: Du, Changbin <changbin.du@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
sbModeChooserActivity.java
43486044059679761e5bea1191c4277ebf716ee6 03-Dec-2015 Jack Yu <jackyu@google.com> Added a new broadcast receiver to handle Brzail channel 50 area info

Moved the area info handler from CellBroadcastReceiver to
CellBroadcastAreaInfoReceiver.

bug: 25628456
Change-Id: I2c7c6bb83245fcb6d9cc7b5dce7496e906160bab
imStatus.java
0c851297b48454209fc5db0e618bd242504fdef6 18-Nov-2015 Ben Kwa <kenobi@google.com> Rename ACTION_BROWSE_DOCUMENT_ROOT -> ACTION_BROWSE

BUG=23137963

Change-Id: I32e995b4421de4c90faa4e80a095c7df2f7aee25
rivateVolumeSettings.java
3069581512bcb9687cb8d79675f6c4950c9ac087 17-Nov-2015 Jason Monk <jmonk@google.com> Summary support for Settings Home

Also add summaries to a few of the major items.

Change-Id: I17924f14941fe095d819e142cdd21cf4b4e9ffd1
torageSettings.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
rivateVolumeSettings.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
rivateVolumeSettings.java
e779213d8e5ae04e9b26a7b39a11db3827a98360 04-Nov-2015 Jason Monk <jmonk@google.com> Merge "Don\'t show MIDI USB option if not supported" am: c2a9cd03f7 am: 92aafd3ed5
am: 1150cfce95

* commit '1150cfce95950f9de3e6e340b6d8efaf5bbd3eb0':
Don't show MIDI USB option if not supported
92aafd3ed5391eb5b172c54e6ea820dd36110c99 04-Nov-2015 Jason Monk <jmonk@google.com> Merge "Don\'t show MIDI USB option if not supported"
am: c2a9cd03f7

* commit 'c2a9cd03f71b3b6b0af2f6faaf877fd9c75dd9fe':
Don't show MIDI USB option if not supported
81ec0945545cdf77782a905cf268145117a8f550 04-Nov-2015 Zoran Jovanovic <zoran.jovanovic@sonymobile.com> Don't show MIDI USB option if not supported

If device doesn't support MIDI, don't show MIDI in "Use USB for" menu
when USB cable is connected.
(Selecting MIDI will crash the Settings app.)

Change-Id: I60f4cbb6357f162fecb574cdb6766cf5ed92e78e
sbBackend.java
31691bffd7cc5c4039845717559a20efff1dd89b 30-Oct-2015 Jeff Sharkey <jsharkey@android.com> Refresh storage UI when disk is destroyed.

Otherwise we leave stale items for the user to click on.

Bug: 25370499
Change-Id: Ia4492b7fb5a1a722bb92a583344677071ef07bba
torageSettings.java
30e0a4a48aada7e0a9bce7dcbf65d31c039dfe51 20-Oct-2015 Jason Monk <jmonk@google.com> resolve merge conflicts of 8e18934478 to master.

Change-Id: I07300436383f8f67cb1d85e6f06f2b2ca3a27534
417a0500c3d7e14013751dbe62791487b033ee72 20-Oct-2015 Jason Monk <jmonk@google.com> Hide SIM and IMEI for wifi only devices

Bug: 24342670
Change-Id: Icfb7db0c1b5c6688c16248daa5e6c0443ff45392
tatus.java
1f5e53f9db94cd6ac690d6c3f39938e977918cc5 16-Oct-2015 Jeff Sharkey <jsharkey@google.com> am bfee8b48: am 31e2ce0e: am d36edb9f: am de005547: Merge "Bail if activity was destroyed." into mnc-dr-dev

* commit 'bfee8b484f3bb4807d185526058ea463f91f1091':
Bail if activity was destroyed.
cabb62faf327fc7982d0b7f9922d21514c169f07 14-Oct-2015 Jeff Sharkey <jsharkey@android.com> Bail if activity was destroyed.

Bug: 24172045
Change-Id: I723951b3478459fc70e29d25386f8d7197964e3d
torageWizardFormatProgress.java
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
meiInformation.java
igrateEstimateTask.java
rivateVolumeSettings.java
ublicVolumeSettings.java
imStatus.java
tatus.java
torageItemPreference.java
torageSettings.java
torageSummaryPreference.java
torageUnmountReceiver.java
torageVolumePreference.java
torageWizardFormatProgress.java
torageWizardMigrateConfirm.java
torageWizardMigrateProgress.java
torageWizardMoveConfirm.java
torageWizardMoveProgress.java
538f6de918a130fd8649250a4465f2b7d87a6ff9 21-Sep-2015 Xiaohui Chen <xiaohuic@google.com> A tiny refactor in settings

Change-Id: I5d3fb3f4ef86bb84de54a8992af476bbb58c2ee9
igrateEstimateTask.java
9965b1438bc347f93401874b84eeabb9b33caba4 21-Sep-2015 Xiaohui Chen <xiaohuic@google.com> Cleanup OWNER in Settings

Bug: 19913735
Change-Id: Iada650431328a304f7c1e6acb8cbde76e4210127
igrateEstimateTask.java
f2686165cf06bc92d8b9ea4260d6cca9ff215651 10-Sep-2015 Jason Monk <jmonk@google.com> am cde29f77: am 618bc11b: am 72fecf9f: am d3c60afe: Include the usb data mode regardless of data role

* commit 'cde29f771a85dc3f7e5b567ffcaa07aaa486fcf4':
Include the usb data mode regardless of data role
d3c60afe5267eb614b9c0a99b797e6bbb51de16f 10-Sep-2015 Jason Monk <jmonk@google.com> Include the usb data mode regardless of data role

Turns out there are valid data modes in host mode (like midi).
Need to allow these through for the dialog to set the proper
current state.

Bug: 23905770
Change-Id: I7a37ad95ccaf18f211d2b2d330c7f1d7af4cfc16
sbBackend.java
6f03829e746aa3f505d71723001a7f84a806452f 03-Sep-2015 Xiaohui Chen <xiaohuic@google.com> Cleanup remaining USER_OWNER in Settings

Bug: 19913735
Change-Id: I6894a7c81ed7504b02d533d9e9f65f800dbca895
imStatus.java
a5c73b423d6c1e0288086e97f29094bdafbb3b57 26-Aug-2015 Yasuhiro Matsuda <mazda@google.com> Merge "Handle the case where null is returned for USB_STATE intent."
38d1b86e091227fd2333e22072891dc061dd44c7 17-Aug-2015 Jason Monk <jmonk@google.com> am 12a4d031: am 51ba8b47: am 99df2376: am 9d59a244: Merge "Fix Usb-C dialog issues" into mnc-dr-dev

* commit '12a4d0313f8e964b727484448bd9b4ed8af1dc5f':
Fix Usb-C dialog issues
9d59a2441ee59b0fe74f49cb12de3af2cab89da1 17-Aug-2015 Jason Monk <jmonk@google.com> Merge "Fix Usb-C dialog issues" into mnc-dr-dev
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.
82fee7bd0a82a48e204bcaf5480701b36c857276 14-Aug-2015 Jeff Sharkey <jsharkey@google.com> am b4158f0e: Merge "Only offer migration between private volumes." into mnc-dev

* commit 'b4158f0e15bdc55de40a4e5f5a17c9e4a6325b61':
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
rivateVolumeSettings.java
5f2194855f73d59f4f5e04fd8962b061fa87390a 14-Aug-2015 Jeff Sharkey <jsharkey@google.com> am 6dcc2004: am ffe642ed: am fa620435: am c73287b9: am ae531f1f: Merge "Show storage slow dialog allowing state loss." into mnc-dev

* commit '6dcc2004ad49c7b2cbdb5fc87a9b83d1be1cccaf':
Show storage slow dialog allowing state loss.
c73287b9dbfe63ddde24ac1e0975f50382f24e71 14-Aug-2015 Jeff Sharkey <jsharkey@google.com> am ae531f1f: Merge "Show storage slow dialog allowing state loss." into mnc-dev

* commit 'ae531f1f613fb1a94fade18e5e92fc842a2a9016':
Show storage slow dialog allowing state loss.
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
torageWizardFormatProgress.java
94e460fd45da93d8e8c7e23fea5bdf8c443816b7 12-Aug-2015 Jason Monk <jmonk@google.com> Fix Usb-C dialog issues

- Fix theme
- Fix PTP bug introduced in initial USB-C support

Bug: 21615151
Change-Id: I577f06929b028fe3f50ef5b9adcfa9507fd1df0e
sbBackend.java
acb7b31bff812eb325e318620c4e1cc443358688 07-Aug-2015 Yasuhiro Matsuda <mazda@google.com> Handle the case where null is returned for USB_STATE intent.

USB_STATE is not received if USB_STATE has not changed from
the initial state. This CL adds handling for that case.

BUG: 22163689
Change-Id: I232a558caaac4f4984f7629e2574d478fc7ad432
sbBackend.java
b3e81e100491cce1105d5eb05fb604de66077a65 04-Aug-2015 Jason Monk <jmonk@google.com> am 183fcd53: am ddb22778: am bd776a0b: am 9824c5da: resolved conflicts for merge of 1adca55f to mnc-dr-dev

* commit '183fcd537023ef0e26cb6cd98d7cda48fdf12f20':
UsbModeChooserActivity: Ensure MIDI available with DISALLOW_USB_FILE_TRANSFER
9824c5da1efa9750fb19d477d29875a08289ecf5 04-Aug-2015 Jason Monk <jmonk@google.com> resolved conflicts for merge of 1adca55f to mnc-dr-dev

Change-Id: Iac88fbc39bbfb7aaa730652794b4aa73618c1d9c
5d402d59bc0873e9f8b9a16311289df2f604b1f7 04-Aug-2015 Jason Monk <jmonk@google.com> am 9390333c: am d2af0859: am 661d1b77: am 2e3775b9: Merge "Update USB dialog for USB-C power option" into mnc-dr-dev

* commit '9390333c84c6218cf70d0750c3f351ff208005f6':
Update USB dialog for USB-C power option
83290eef8cfeebc9736f077d78003d78e6bf1320 29-Jul-2015 Jason Monk <jmonk@google.com> Update USB dialog for USB-C power option

Also includes a bit of visual updates, options now have summaries
as well.

Code has been refactored a bit, and is more flexible to easily
support any kind of power/data flow combination once its time
to support that.

Currently devices don't have USB-C ports, they can be simulated
with the following commands:
$ adb shell dumpsys usb add-port "matrix" dual
# ?s control whether these can be changed
$ adb shell dumpsys usb connect-port "matrix" ufp? sink? device?
# Do testing here
$ adb shell dumpsys usb disconnect-port "matrix"
$ adb shell dumpsys usb remove-port "matrix"
$ adb shell dumpsys usb reset
# Use the help for more info
$ adb shell dumpsys usb -h

Bug: 21615151
Change-Id: I53ad4de51ff10a197c87bf2741756c1821ee9e74
sbBackend.java
sbModeChooserActivity.java
8a9b03f746233fa00d4e32f018acac919c824f6f 31-Jul-2015 Nick Kralevich <nnk@google.com> UsbModeChooserActivity: Ensure MIDI available with DISALLOW_USB_FILE_TRANSFER

In ec323a0849155302b3b522fe34a2638be74af420, DISALLOW_USB_FILE_TRANSFER
turned off all USB options except for "Charge Only". This is too
aggressive. MIDI should be available when DISALLOW_USB_FILE_TRANSFER
is set.

Remove mUsbManager.isUsbDataUnlocked(). That data is available
by accessing the sticky broadcast.

Bug: 22447614
Bug: 21429947
Change-Id: Icd8398c4cf43f807acf77923b0b25c18f9a9b0d0
sbModeChooserActivity.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
rivateVolumeSettings.java
torageWizardBase.java
torageWizardFormatProgress.java
44879a387a6be6b93cdcc8894227d68af7dbbb1a 22-Jul-2015 Xiaohui Chen <xiaohuic@google.com> sys user split: first pass updating Settings

Update various places in Settings to use "admin" ueser flag
instead of checking user id "0". This should be no-op in
single user mode since the only admin user would be user 0.
In split system user mode, this will correctly ACL admin
user instead of non-interactive system user.

Bug: 19913735
Change-Id: Ida4d59c5f689ea0dc34b3b3ff0822b087fa0afd6
tatus.java
5e83b0d9fa1c08f0e5b1f15c86454af2b45143db 24-Jul-2015 Guang Zhu <guangzhu@google.com> am 29936b07: am 5ea94a9c: am b91da24d: am 402c866c: am c1bef743: Prevent monkey from changing adoptable storage settings

* commit '29936b072f9d1623b16356b6837d38b7c865cb60':
Prevent monkey from changing adoptable storage settings
c1bef7430e1c49b9c3b2312328d3600261109ee8 23-Jul-2015 Guang Zhu <guangzhu@google.com> Prevent monkey from changing adoptable storage settings

Bug: 22423188
Change-Id: I36c798574c933b0339fad46af81b87a93ccea07b
ublicVolumeSettings.java
torageWizardInit.java
35197218fc98b601026c1b2a8cd3710fc359ed36 21-Jul-2015 Daichi Hirono <hirono@google.com> Merge "Turn the eject menu into a button."
5e76cdc9dd90624de4a59808e8fe8037786317e5 08-Jul-2015 Daichi Hirono <hirono@google.com> Turn the eject menu into a button.

BUG=21897892

Change-Id: Icd0db7907b990447c99c4ae65816e85777df0f8e
ublicVolumeSettings.java
423a891b3833ccc0935ebc7b0f6322b075048741 16-Jul-2015 Sanket Padawe <sanketpadawe@google.com> am 45c5de2f: am e07fce2c: am 18c31082: am c5be2243: am 046decca: Merge "Use common xml file for multi-tab settings." into mnc-dev

* commit '45c5de2f62bcdea70a5f25f60ab10398f5911574':
Use common xml file for multi-tab settings.
046decca29376aba5b97b78900bfd867ca3f310c 16-Jul-2015 Sanket Padawe <sanketpadawe@google.com> Merge "Use common xml file for multi-tab settings." into mnc-dev
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
rivateVolumeSettings.java
c06f9b6721e5831fffd750653ddbc1e23e32dfae 14-Jul-2015 Sanket Padawe <sanketpadawe@google.com> Use common xml file for multi-tab settings.

Bug: 22360525
Change-Id: Id4d971e0afcd9ecd43005a0a5056ad03a32b704f
imStatus.java
20728bfc351935bfdd0fde0a6599cf8934801c86 14-Jul-2015 Sanket Padawe <sanketpadawe@google.com> am ed6c19ae: am b1167763: am 389fbb74: am 2db9291e: am 7995ca41: Use same technology type for LTE/4G

* commit 'ed6c19aefa6e6c542e957b653d8f6f392a7b0fb6':
Use same technology type for LTE/4G
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
7995ca4165cae43b9bff25a6e6eafdb51445b698 13-Jul-2015 Sanket Padawe <sanketpadawe@google.com> Use same technology type for LTE/4G

Though status bar and preferred network type show 4G, still show
LTE in SIM status when device set config_show4GForLTE true

Bug: 22213113
Change-Id: I2866a868992af7b4eb661d693a0cce60bb1b3402
imStatus.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
rivateVolumeSettings.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
rivateVolumeSettings.java
b7f6b87aa55a7a3bf313678155ef51410773b87d 09-Jul-2015 Jeff Sharkey <jsharkey@android.com> am 2f87423c: am 05d51e24: am 22f66408: am 68fdb73d: am 80eba76b: Merge "Move storage when formatting primary disk." into mnc-dev

* commit '2f87423cb3b3e8ccdd40a08d26d535c716061b9d':
Move storage when formatting primary disk.
80eba76b109efa7e48eaf7aac145e05938d4405e 08-Jul-2015 Jeff Sharkey <jsharkey@android.com> Merge "Move storage when formatting primary disk." into mnc-dev
f601bec35e2d7cce9d7899520d0332739f29cc42 08-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> am 87e918cd: am 2f279c3a: am 2cd50c45: am 03b73068: am 296e0aff: Merge "Filter USB options on chooser when DISALLOW_USB_FILE_TRANSFER is on" into mnc-dev

* commit '87e918cdf0ff92c8beee43b9f0be514d608c7b4c':
Filter USB options on chooser when DISALLOW_USB_FILE_TRANSFER is on
df57fa52abb4ea5c4336b20c2ec5334169d3cdbc 08-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> resolved conflicts for merge of 8eade69d to master

Change-Id: Id2a2269b506c2ffa06dcfd3a02b32eced5e7632b
296e0aff022196ef2fec934878d8721828bea3f1 08-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Merge "Filter USB options on chooser when DISALLOW_USB_FILE_TRANSFER is on" into mnc-dev
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
torageWizardFormatProgress.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
rivateVolumeSettings.java
torageItemPreference.java
ec323a0849155302b3b522fe34a2638be74af420 07-Jul-2015 Zoltan Szatmary-Ban <szatmz@google.com> Filter USB options on chooser when DISALLOW_USB_FILE_TRANSFER is on

Bug: 22291579
Change-Id: I32611404ef5f58c7484fe5c4b7a4f7782cc8daa3
sbModeChooserActivity.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
rivateVolumeSettings.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
rivateVolumeSettings.java
ublicVolumeSettings.java
torageSummaryPreference.java
torageVolumePreference.java
torageWizardBase.java
torageWizardFormatProgress.java
6a0082b483eb487c44dec5e8855cf0e1ab92020b 05-Jul-2015 Jeff Sharkey <jsharkey@android.com> Handle missing migration source volume.

Users can try migrating primary storage while the current location
is missing/unmounted. Fail gracefully instead of runtime restarting.

Bug: 21927076
Change-Id: I54b92487faf9e62d5d309734bf4c436a9259d156
igrateEstimateTask.java
torageWizardMigrateConfirm.java
3de1dff6cb208c4831d74920b983ddd544640466 03-Jul-2015 Daichi Hirono <hirono@google.com> Merge "Use 'setup' header illust before selecting storage type."
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
rivateVolumeSettings.java
torageItemPreference.java
fba2fd8375f9eb4c93232cf08f2f2f5f043c4b16 02-Jul-2015 Daichi Hirono <hirono@google.com> Use 'setup' header illust before selecting storage type.

Previously the storage setup wizard shows 'internal' header illust before user
selects storage type. The CL turns the initial illust into 'setup' header
illust.

BUG=22211635

Change-Id: Ie429a6197d210e0bd1ef8d0af6abb6f83295ac50
torageWizardBase.java
torageWizardFormatConfirm.java
torageWizardFormatProgress.java
torageWizardInit.java
torageWizardMigrate.java
torageWizardMigrateConfirm.java
torageWizardMigrateProgress.java
torageWizardMoveConfirm.java
torageWizardMoveProgress.java
torageWizardReady.java
a8c4db48c26634836ade77f3f8f0403089245f9c 01-Jul-2015 Amith Yamasani <yamasani@google.com> Merge "Only allow admin users to adopt sd card as internal storage." into mnc-dev
350274040e2f9adbf97aba53a2e7ab0c70f7ff5a 30-Jun-2015 Amith Yamasani <yamasani@google.com> Only allow admin users to adopt sd card as internal storage.

Bug: 21883016
Change-Id: I11ca324ab74ce2a8bf13064b4c7735aea132c562
ublicVolumeSettings.java
torageWizardInit.java
0c0858acad490a615871e7d9c1d3b73450398041 26-Jun-2015 Makoto Onuki <omakoto@google.com> Make sure Fragments are public for FragMan to instantiate

Bug 21990428

Change-Id: If2dd5e43a4cc73ccf60278fdab874516c7fc181b
rivateVolumeForget.java
torageSettings.java
ae56c1449ac500fbe6fffc99cf9bd1093725748c 25-Jun-2015 Daichi Hirono <hirono@google.com> Remove while box at the top right of storage setup wizard.

The CL specify correct ID for the tile asset.

BUG=22049781

Change-Id: Ib7800487518e017fab1110fde5d70cc35bceffb7
torageWizardBase.java
9f2b5a74420988824dd3a91abcdb85bea6fc48fa 17-Jun-2015 Makoto Onuki <omakoto@google.com> Merge "Don't crash on NameNotFoundException" into mnc-dev
302b77f4254a57f81f572a52efc6899fbd113d12 17-Jun-2015 Makoto Onuki <omakoto@google.com> Don't crash on NameNotFoundException

Just finish().

Bug 20672468

Change-Id: Ic600e060990b7e3bc3e98bda63d0f4c9e530fb94
torageWizardMoveConfirm.java
74c7f1fcd3451bdb5b49f2b44b86fd4ec8eb6794 17-Jun-2015 Jeff Sharkey <jsharkey@android.com> Merge "Actually gracefully finish this time around." into mnc-dev
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
rivateVolumeSettings.java
ublicVolumeSettings.java
torageSettings.java
4e42cbdba386a742b01871010ec8747e07471e29 17-Jun-2015 Jeff Sharkey <jsharkey@android.com> Merge "Gracefully finish when missing volume." into mnc-dev
e79ff145f3da966262d050898125c51f4bdc75e4 17-Jun-2015 Jeff Sharkey <jsharkey@android.com> Gracefully finish when missing volume.

Bug: 21403958
Change-Id: Icb78bb633842571c4df696c9db72a5b97ece0655
rivateVolumeSettings.java
ublicVolumeSettings.java
95b891af7c77d51f6284e01467bd6323d3749068 17-Jun-2015 Jeff Sharkey <jsharkey@android.com> Merge "Finish storage wizard theming." into mnc-dev
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
torageVolumePreference.java
torageWizardBase.java
torageWizardFormatConfirm.java
torageWizardFormatProgress.java
torageWizardInit.java
torageWizardMigrate.java
torageWizardMigrateConfirm.java
torageWizardMigrateProgress.java
torageWizardMoveConfirm.java
torageWizardMoveProgress.java
torageWizardReady.java
d91ddfeb16f3019807e2d0146f774975acef36bd 17-Jun-2015 Makoto Onuki <omakoto@google.com> Merge "Allow formatting when a partition is corrupt." into mnc-dev
7ccea2f19a671a0a8fcd79505688ee46639b2647 16-Jun-2015 Makoto Onuki <omakoto@google.com> Allow formatting when a partition is corrupt.

Bug 21848166

Change-Id: Ied8efaa1320c49a01ae08f19461bf125b3ffa97f
torageWizardInit.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
rivateVolumeSettings.java
ublicVolumeSettings.java
torageItemPreference.java
torageSettings.java
torageSummaryPreference.java
torageVolumePreference.java
sageBarPreference.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
rivateVolumeForget.java
rivateVolumeSettings.java
ublicVolumeSettings.java
torageSettings.java
torageVolumePreference.java
torageWizardFormatConfirm.java
torageWizardFormatProgress.java
torageWizardInit.java
9405a81f7ac4116e2715f5739fb5d7fd5c6458d8 13-Jun-2015 Nick Kralevich <nnk@google.com> Merge "Let UsbDeviceManager choose the appropriate function default" into mnc-dev
2d0f6a9d360f4ac2de9473d1d0d9dd736aa408ff 13-Jun-2015 Nick Kralevich <nnk@google.com> Let UsbDeviceManager choose the appropriate function default

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
sbModeChooserActivity.java
97d102d9e207f3379ef94929e239de848c784754 13-Jun-2015 Makoto Onuki <omakoto@google.com> Merge "Add simple null checks to StorageWizard*, also listen to..." into mnc-dev
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
torageWizardBase.java
torageWizardFormatConfirm.java
torageWizardFormatProgress.java
torageWizardInit.java
torageWizardMigrate.java
torageWizardMigrateConfirm.java
torageWizardMigrateProgress.java
torageWizardMoveConfirm.java
torageWizardMoveProgress.java
torageWizardReady.java
5693274d2a374deb4e3adcc70136ceddaf914b15 11-Jun-2015 Jeff Sharkey <jsharkey@android.com> Always round migration times up to 1 second.

Bug: 21755250
Change-Id: I4e5eef493f2f923d0bcf110133e862c4a4a7db8b
igrateEstimateTask.java
680329f10c9ed4648ff9233f9410e22eedf30dfe 11-Jun-2015 Jeff Sharkey <jsharkey@android.com> Follow string refactoring.

Change-Id: Ib450724a20283a3bf356593e487b8ee6e9c8de5c
ublicVolumeSettings.java
5eba30289a708d92f152d998c05bea3866316b3b 10-Jun-2015 Nick Kralevich <nnk@google.com> Fix USB access control when adb is disabled.

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
sbModeChooserActivity.java
d0393cd0417ecc8aed686578381745a88fb77f92 19-May-2015 Jeff Sharkey <jsharkey@android.com> Merge "Warn user when adopted device is slow." into mnc-dev
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
torageWizardFormatProgress.java
72aa5379806759fbf8f8402500b69f34eccb1956 19-May-2015 Guang Zhu <guangzhu@google.com> Monkey should not be allowed to switch USB mode

Change-Id: Ifb4865d234e0d9e6453f88d37c12744b9daefa62
sbModeChooserActivity.java
11b29e7613a30610981d56786fd5d2e0b7494aab 15-May-2015 Jeff Sharkey <jsharkey@android.com> Merge "Initial pass at storage benchmarks." into mnc-dev
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
torageWizardFormatProgress.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
rivateVolumeSettings.java
torageSettings.java
sbModeChooserActivity.java
sbSettings.java
d7cba372c6cdeeb8da74de0ae60a2b30ab5f4e25 09-May-2015 Sanket Padawe <sanketpadawe@google.com> Merge "Fix Signal strength display issue in Settings." into mnc-dev
afee3aa5ab7a82384d859f4fdeb65958d4c543f7 09-May-2015 Sanket Padawe <sanketpadawe@google.com> Fix Signal strength display issue in Settings.

Bug: 20821065
Change-Id: Ib98e7b80f5ee331ef0adb8df706bb697f9fff008
imStatus.java
5a3b91cdbb43303a1e35b1ffd58ce338fe170bc7 06-May-2015 Sanket Padawe <sanketpadawe@google.com> Fix SimStatus crash in Settings.

Bug: 20862873
Change-Id: I1ae60ceb64a8af8b3f875e50dd62dfe9796192ca
imStatus.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
igrateEstimateTask.java
rivateVolumeFormat.java
rivateVolumeSettings.java
ublicVolumeSettings.java
torageWizardBase.java
torageWizardFormatConfirm.java
torageWizardFormatProgress.java
torageWizardMigrate.java
torageWizardMigrateConfirm.java
torageWizardMigrateProgress.java
torageWizardMoveProgress.java
torageWizardReady.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
rivateVolumeForget.java
rivateVolumeFormat.java
rivateVolumeFormatConfirm.java
rivateVolumeSettings.java
rivateVolumeUnmount.java
rivateVolumeUnmountConfirm.java
ublicVolumeSettings.java
torageSettings.java
torageWizardFormatConfirm.java
torageWizardFormatProgress.java
torageWizardInit.java
torageWizardMoveProgress.java
954d8dad5e395544f95ca211466bcc7195d31877 24-Apr-2015 Jeff Sharkey <jsharkey@android.com> Migrate package movement to use new API.

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
torageWizardMoveConfirm.java
torageWizardMoveProgress.java
d325f5d53cfad674b5284e23702410629de75d0a 24-Apr-2015 Tony Mantler <nicoya@google.com> Move StorageMeasurement to SettingsLib

Change-Id: I00335fe896ef1bae11c382592eea2a354269818a
rivateVolumeSettings.java
torageMeasurement.java
267582826bf6a6dcddd57c978704cbef5d22286c 21-Apr-2015 Jeff Sharkey <jsharkey@android.com> Merge "Use disk directly from volume in storage wizard."
0ce64e26c03e5d826bbb4bc041b8ca59b6c19b8b 20-Apr-2015 Stuart Scott <stuartscott@google.com> Merge "Correct the way settings deals with subscriptions."
a71f1dc2ca69e19b637175882e932496f2b32623 20-Apr-2015 Erik Kline <ek@google.com> Use CONNECTIVITY_ACTION instead _IMMEDIATE

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
tatus.java
f7db2b2f228f6d350109c140649ed44ae04f1cc3 19-Apr-2015 Jeff Sharkey <jsharkey@android.com> Use disk directly from volume in storage wizard.

Otherwise we're upset moving apps back to internal storage, which
is a private volume without a disk.

Bug: 19993667
Change-Id: I59e78bf13e14a68b0f4f1c6cbee35f6f7fd8d6ca
torageWizardBase.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
rivateVolumeSettings.java
ublicVolumeSettings.java
torageMeasurement.java
torageSettings.java
torageVolumePreference.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
rivateVolumeSettings.java
1f4efd7360dea3038fe2096b1d4bccaae8e2a09f 15-Apr-2015 Jeff Sharkey <jsharkey@android.com> Move packages between candidate volumes.

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
torageSettings.java
torageWizardMoveConfirm.java
torageWizardMoveProgress.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
rivateVolumeSettings.java
rivateVolumeUnmountConfirm.java
ublicVolumeSettings.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
rivateVolumeFormatConfirm.java
rivateVolumeSettings.java
rivateVolumeUnmountConfirm.java
ublicVolumeSettings.java
torageMeasurement.java
torageSettings.java
torageVolumePreference.java
torageWizardBase.java
torageWizardFormatConfirm.java
torageWizardFormatProgress.java
torageWizardInit.java
torageWizardMigrate.java
torageWizardMigrateConfirm.java
torageWizardMigrateProgress.java
torageWizardReady.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
rivateVolumeFormatConfirm.java
rivateVolumeSettings.java
rivateVolumeUnmountConfirm.java
ublicVolumeSettings.java
torageSettings.java
torageUnmountReceiver.java
torageVolumePreference.java
torageWizardBase.java
torageWizardFormatConfirm.java
torageWizardFormatProgress.java
torageWizardInit.java
torageWizardMigrate.java
torageWizardMigrateConfirm.java
torageWizardMigrateProgress.java
torageWizardReady.java
c1235be6f00520ee18b76d5619a40ea1a99087bb 14-Apr-2015 Jason Monk <jmonk@google.com> Merge "Allow help to be defined to intent uri"
23acc2bb8af7da000d72a8c1d8c28a2792200348 14-Apr-2015 Jason Monk <jmonk@google.com> Allow help to be defined to intent uri

Allow help uris to be either an intent uri or as uri (as they were
before). Also add a default help uri, and specific helps for several
screens.

Bug: 15475009
Change-Id: Iff982892973f01d32ff61ea88d4844e9a7153500
torageSettings.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
ileItemInfoLayout.java
rivateVolumeFormatConfirm.java
rivateVolumeSettings.java
rivateVolumeUnmountConfirm.java
ublicVolumeSettings.java
torageWizardBase.java
torageWizardFormatConfirm.java
torageWizardFormatProgress.java
torageWizardInit.java
torageWizardMigrate.java
torageWizardMigrateConfirm.java
torageWizardMigrateProgress.java
torageWizardReady.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
emory.java
iscFilesHandler.java
rivateVolumeSettings.java
ublicVolumeSettings.java
torageItemPreference.java
torageMeasurement.java
torageSettings.java
torageVolumePreference.java
torageVolumePreferenceCategory.java
f51d00635028c0b87dd431c33c932ad20202d032 08-Apr-2015 Stuart Scott <stuartscott@google.com> Correct the way settings deals with subscriptions.

Change-Id: I19e9dfaf248fce7376b124ee91de7e73fdc99fb3
meiInformation.java
imStatus.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
meiInformation.java
emory.java
imStatus.java
tatus.java
sbSettings.java
55eaa96fe44ab473975fd2d9b3d97836935752fe 19-Mar-2015 Alan Viverette <alanv@google.com> Clean up usage of theme colors, deprecated Resources.getColor* methods

Change-Id: I34e11e0773c9f8e00e3eab422781094e19a16d3d
torageItemPreference.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
meiInformation.java
imStatus.java
tatus.java
7af238e1810c487a7e153a8d7bfe953f1f95d1c0 21-Feb-2015 Mike Lockwood <lockwood@google.com> Add support for MIDI USB configuration to MIDI settings screen

Change-Id: I41b7ef2090b8887d5d3c05494de9dd1fb4dd65eb
sbSettings.java
ab84518009c53e28e021f27696cd4e51360fccbc 30-Jan-2015 Sanket Padawe <sanketpadawe@google.com> Remove sim status and imei for secondary user.

Bug: 19165700
Change-Id: I4cc4b09a66acb3c88ac33e6479b165b6872404c8
tatus.java
42013918994bbb26b54290eac12b9cb87770baea 08-Jan-2015 Sanket Padawe <sanketpadawe@google.com> Display Voice nw type if Data nw is Unknown for Sprout.

For multisim device when default data connection is set to 1st sim,
getDataNetworkType() returns Unknown for 2nd sim. In that case use
getVoiceNetworkType() to display Cellular nw type in sim status.

Bug: 18922147
Change-Id: Id7c39f8717737b60bde988cbd1c85ce8f6768a6f
imStatus.java
531127a5c2293e46e16fb9bc013078506c15122e 29-Dec-2014 Prem Kumar <premk@google.com> Merge "SIM Status now shows data connection instead of voice." into lmp-mr1-dev
a68bdb6dbe329481d1f50b66e6973135ad5fb27c 19-Dec-2014 PauloftheWest <paulofthewest@google.com> Removed extraneous slot information on single SIM devices.

Bug: 18803333
Change-Id: If18f898839a1b7927a8db3b225549d4e4e073fdc
meiInformation.java
58f7eaf3d2045f1822ff50c556d834e509aa5bab 18-Dec-2014 PauloftheWest <paulofthewest@google.com> SIM Status now shows data connection instead of voice.

Bug: 18714691
Change-Id: Ia2e9642d3331126a040ae1a059300df65d9551b9
imStatus.java
e04fd76f1c1a345a47673d460a04372670bad6c0 15-Dec-2014 Wink Saville <wink@google.com> Merge "Use getLIn1NumberForSubscriber to get phone number." into lmp-mr1-dev
c47f8db374bdd1bc58ec74d3fd736076df33d1a8 15-Dec-2014 Wink Saville <wink@google.com> Use getLIn1NumberForSubscriber to get phone number.

Bug: 18721557
Change-Id: I255627638efe21362315286a659ac59b46e1fa30
Signed-off-by: Wink Saville <wink@google.com>
imStatus.java
c8bcf2985a922dace86fd35be8bf87b97875a3ef 15-Dec-2014 PauloftheWest <paulofthewest@google.com> IMEI information will show without a SIM.

Bug: 18701340
Change-Id: I1e92bd1af4d68849f194d30b5b894cfb144900e5
meiInformation.java
d72c062fa81cba7fcd70456c8cc2e6fab8fe6997 11-Dec-2014 Wink Saville <wink@google.com> Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.

Bug: 18668873
Change-Id: Ie709a62bbb74e0a767daeb9e3fb3aecd4c45df44
imStatus.java
0b1f606c6e79a3a891a19e88ece48d9852081714 05-Dec-2014 Shishir Agrawal <shishir@google.com> Merge "Settings app - read phone number from TelephonyManager." into lmp-mr1-dev
7fa241549254ef727048efffb8affd2ccab73c18 04-Dec-2014 PauloftheWest <paulofthewest@google.com> Fixed a Settings crash when entering SIM status

Bug: 18596763
Change-Id: I699268345c342be05814bb531027dd53cba1c370
imStatus.java
dd4443a236730046bb26919272ff7d6db084b5bc 04-Dec-2014 Shishir Agrawal <shishir@google.com> Settings app - read phone number from TelephonyManager.

The phone number needs to be always read from the TelephonyManager
since it can be overridden.

Bug: 18487514
Change-Id: If72094eb230c41b4f70146b0ccb012c9f9860626
imStatus.java
6fc9207ebefcf68c1527c3758827a347bdd630bf 25-Nov-2014 PauloftheWest <paulofthewest@google.com> Bug Fix: SIM Status will display the proper network type

Bug: 18414792
Change-Id: I41f838ab95eaf9d546e59c9e2a793bbab393cb27
imStatus.java
0183fb5394f105d544472a52b2b4ba628e01da92 22-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
meiInformation.java
imStatus.java
9aa0dd69c53fabfbd4e894e5eca6c9b6d879fdd3 20-Nov-2014 Wink Saville <wink@google.com> Revert "Additional changes to SubscriptionManager API as per API council."

This reverts commit 1285f74fcb6a8bf080c224e5a36db00ab1167d4c.

Change-Id: I366556368a9c429d8c356bcdb8e29af9c6c4c71e
meiInformation.java
imStatus.java
1285f74fcb6a8bf080c224e5a36db00ab1167d4c 19-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
meiInformation.java
imStatus.java
76b0801173b6b8493cd9776e44f4effddd5512c2 10-Nov-2014 PauloftheWest <paulofthewest@google.com> Adding Sim Status menu to Settings.

+ Added tabs for Multi-SIM devices.
+ Most of the code was taken from MediaTek
(https://partner-android-review.googlesource.com/#/c/181417)

Bug: 18195254
Change-Id: If6f7d5cfa4d41adb52dfc1bd035b4ff79d926bd8
imStatus.java
ca7566125e00ed267aba831bd1d6d1ad78d90c17 08-Nov-2014 Wink Saville <wink@google.com> Update SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d
meiInformation.java
3ada2ecbe02c98da529aa106e538a4439219cb62 31-Oct-2014 Stuart Scott <stuartscott@google.com> Clean up public API of SubInfoRecord.

bug: 17575308
Change-Id: I38afd507b1c004fd566214c0b3812cab226936df
meiInformation.java
f41aaa249b2d4bc23d1a99b3250ada37f9e207b7 20-Oct-2014 PauloftheWest <paulofthewest@google.com> Added IMEI status activity.

+ Added IMEI support from MTK with formatting changes. Now extra SIM
IMEI information is displayed in a seperate activity.

Bug: 17935115
Change-Id: I48942d77650bef2a1778996db3b1ec3a9d87492c
meiInformation.java
50e6ecacf99c30bf239e68bd54895e3632315063 03-Oct-2014 PauloftheWest <paulofthewest@google.com> [DS] DSDS support for Settings

+ Rebase and modify as APIs rename.
+ Fix bugs on set sub's name as title.
+ Enabled Sim Settings.

Change-Id: Ic731c7882be95b86b6b8dcdd3f208a6125681f3e
tatus.java
9a60d7b5697873a41810fe87a89e60824e3548da 25-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Enforce the presence of the Indexable interface for Indexing

- check that the Indexable interface has been defined before indexing

Change-Id: Ia61915b2bd1240226ba560ecfd883a115b49da95
emory.java
48383e1604cc52559aafc7341faa962b3accce8e 03-Jul-2014 Derek Tan <derektan@google.com> Get phone number from TelephonyManager on Phone Status page.

Bug: 11900806
Change-Id: I4df3fac7b483ddae2bbda14b5a85629486e400cf
tatus.java
5bdf0423f9dbc3cf5970045aacdfef79daacc430 02-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix SettingsPreferenceFragment.startFragment()

- was always passing R.string.lock_settings_picker_title as a title res

Change-Id: Iab47ef3da00e91d5ce3b6dc50c50c943bd78b08f
emory.java
1e0e0ed6dfa608c168b38cbf73ee8ad38ac563c0 18-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix UsageBar for Storage Settings

- make padding consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: Id333493cc4e88355a1211834081cd22e61aabf77
sageBarPreference.java
45f754e50618076213ed6911ff1e6c37b4db0467 11-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add Indexable.SearchIndexProvider.getNonIndexableKeys(Context)

- getNonIndexableKeys(Context) allow a SearchIndexProvider to tell which data
he does not want to index by providing a list of the data keys
- use this new API for SoundSettings and removing KEY_EMERGENCY_TONE related
settings if the device is not CDMA
- add a BaseSearchIndexProvider for code simplification

Change-Id: I23633ace1d7e390ee05fac0a5458a33e04e72d8d
emory.java
f66eb7a8c8aa65c704dad4e565ce919ec121705f 03-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add indexing for Storage preferences

- implement the contract for SEARCH_INDEX_DATA_PROVIDER

Change-Id: I131e9176c47ccd697d05961b09546ba0e51059f7
emory.java
c94122a199461972401bc0cadb70602ff1b573c3 07-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #12919330 RTE in Settings: PhoneFactory probably already running"
3065f75e164d71c9c45b26666e37f5acb68ab3f1 07-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12919330 RTE in Settings: PhoneFactory probably already running

- revert changes from the CL for Drawer implementation.
- we cannot convert those Activities to fragments as they are running in the Phone process

Change-Id: I7e4033bc9b53daa7e7aa6f1fd74576375cde88e9
tatus.java
4d6fe13707248d86f30f7f7806ca4b21d5a8c046 06-Feb-2014 Jeff Sharkey <jsharkey@android.com> am abe6b835: am 1f37bff7: Merge "Total and available fields missing in Settings storage menu"

* commit 'abe6b83559d17111d067dfdef22d07cb50c302c0':
Total and available fields missing in Settings storage menu
1f37bff7d26aeb3d1f16deb4368f8387e2d4530f 06-Feb-2014 Jeff Sharkey <jsharkey@android.com> Merge "Total and available fields missing in Settings storage menu"
263bcc8b732dbb47d3ce63904e0e05191fabbad6 18-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Use Drawer in Settings app

- get rid of PreferenceActivity as much as we can and use fragments instead
- add Drawer widget
- add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL)
- add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external
call thru an Intent

Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should
not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process
and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we
would have two Home).

Also, verified that:

- the WiFi settings still work when called from SetupWizard
- when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer

Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
emory.java
tatus.java
torageVolumePreferenceCategory.java
ecc1730a9ca968bd16cf1e16e819ffd0d43c4321 07-Jan-2014 Amith Yamasani <yamasani@google.com> am 200b6c63: am 3cfb6767: am e7d8485a: am 5be77489: Merge "Dont show "Erase SD Card" when there is none"

* commit '200b6c63237bcf1d911d5e8b48a4cd2f05d0ce3d':
Dont show "Erase SD Card" when there is none
5517ad92dd91e3e5367f729b632e8895852f2b30 19-Dec-2013 Johan Redestig <johan.redestig@sonymobile.com> Dont show "Erase SD Card" when there is none

On devices with physcal, external SD Cards, the "Erase SD card"
option in in Settings/Storage is available even when there is
no SD card present, this dont make much sense since you cannot
erase a card that is absent. With this change the erase option
is bound to the mount toggle which leads to the following
consequences:

Card present and mounted -> Erase enabled
Card present but unmounted -> Erase enabled
No card present -> Erase disabled
Card present and MTP attached -> Erase disabled

Change-Id: I756ae8af3e0565febaf940df5f4991dd89105bd9
torageVolumePreferenceCategory.java
b568548747c9b137d7da05fcdbb84f157273b3db 05-Dec-2013 The Android Open Source Project <initial-contribution@android.com> Merge commit 'f9ca318a3d2aceaf5c9e54610073a9017442be9b' into HEAD
5448b2548104bfa732f9fd8cddd895e450fd5615 06-Sep-2013 Lorenzo Colitti <lorenzo@google.com> Dynamically update connectivity and IP address.

The settings status page dynamically updates mobile network
status (in/out of service, signal strength, network type, etc.)
but not IP address and connectivity information. Dynamically
update that information as well, for consistency.

For consistency, also update the advanced wifi settings page.

[Cherry-pick of deb8f08ace7e255939d793c8a5a0006d424734bc]

Bug: 10232006
Change-Id: I3a292d8bd9e36ab16c37e107eefff4b37d884a4c
tatus.java
b088c8a7c7cf80d1146b0fd1e10479ff98632ab7 07-Nov-2013 Lorenzo Colitti <lorenzo@google.com> Cache preferences and services in status dialog.

Currently, the status dialog fetches the preferences and system
services that it uses to display connectivity information (e.g.,
IP and MAC addresses) only when the dialog is first opened. This
is fine because the connectivity information is only filled in
once and never updated.

In order to have this information update dynamically (like the
rest of the dialog), fetch and cache these objects in onCreate.
The next change will actually make this information update on
network changes.

[Cherry-pick of 6eb6a908217e080aea43406028be491d269bdbb0]

Bug: 10232006
Change-Id: Ib4072674543e517cf6935e3e03f35090e728090a
tatus.java
deb8f08ace7e255939d793c8a5a0006d424734bc 06-Sep-2013 Lorenzo Colitti <lorenzo@google.com> Dynamically update connectivity and IP address.

The settings status page dynamically updates mobile network
status (in/out of service, signal strength, network type, etc.)
but not IP address and connectivity information. Dynamically
update that information as well, for consistency.

For consistency, also update the advanced wifi settings page.

Bug: 10232006
Change-Id: I3a292d8bd9e36ab16c37e107eefff4b37d884a4c
tatus.java
6eb6a908217e080aea43406028be491d269bdbb0 07-Nov-2013 Lorenzo Colitti <lorenzo@google.com> Cache preferences and services in status dialog.

Currently, the status dialog fetches the preferences and system
services that it uses to display connectivity information (e.g.,
IP and MAC addresses) only when the dialog is first opened. This
is fine because the connectivity information is only filled in
once and never updated.

In order to have this information update dynamically (like the
rest of the dialog), fetch and cache these objects in onCreate.
The next change will actually make this information update on
network changes.

Bug: 10232006
Change-Id: Ib4072674543e517cf6935e3e03f35090e728090a
tatus.java
457284e858e76cc090a9ffdd1fc34cadf4bd7ad3 26-Oct-2013 Jeff Sharkey <jsharkey@google.com> am 8cd39351: am bd5cbb04: am fd845410: Merge "remove primary condition check on storage format." into klp-dev

* commit '8cd39351fe9d1164a06bb4420e2b95c5dd9259fb':
remove primary condition check on storage format.
93df01e3a776d4d7806eec53b2ad3aca8a7dcd45 23-Oct-2013 Pierre <pierre@broadcom.com> remove primary condition check on storage format.

this change seemed to have been introduced originally
via commit d2a6f28fa7ba8189d2a1987129db27fd840fac0f
as a workaround to fix interoperability problem with MTP,
then commit 8218d3ba180505a52998caa1fd9f6a1647984e7f
seemed to have address this problem.

therefore it looks like removing the original restriction
is in order to allow formating of the sd-card when not
primary storage.

Bug: 11352632
Change-Id: I0419135a607dac08c44a3f30a7ccdcad17c46437
Signed-off-by: Pierre <pierre@broadcom.com>
torageVolumePreferenceCategory.java
ecb915689802568a2c59d308ca5e7804977870ed 05-Oct-2013 Amith Yamasani <yamasani@google.com> am 8f4919ff: am b46e57ee: am 4a4a1b8b: Merge "Use a public media content uri for viewing local media files" into klp-dev

* commit '8f4919ffeb97994c5214011696945d08ca8beedb':
Use a public media content uri for viewing local media files
c778bc560dea3e3112a60f373bc62a35a67c8d4a 04-Oct-2013 Amith Yamasani <yamasani@google.com> Use a public media content uri for viewing local media files

Bug: 11061566
Change-Id: I7e049f48d37a68a0a41b7a62383eea71f3938c44
emory.java
torageVolumePreferenceCategory.java
b7715323308674cfd0902615124192442159449e 02-Oct-2013 Daniel Sandler <dsandler@android.com> Longpress any row in Status to copy text to the clipboard.

Really convenient for grabbing IMEI/MAC/serial/etc.

Change-Id: I30dd6109d76f342108b10571cf043158b09743d0
tatus.java
62f8b9155ef0e7f5b253e730bce3356c634a29fb 03-May-2013 Kent Persson <kent.persson@sonymobile.com> Total and available fields missing in Settings storage menu

After formatting SD card or inserting an SD card the total and
available space fields in Settings storage are missing.
This fix add those fields after SD card has been mounted.

Change-Id: Id6c1d1963effdb9656c8eb1c567b913bc4d98bd2
torageVolumePreferenceCategory.java
eab49cab9fc4351af76e5c50d3d11e9c5070fd82 06-Jun-2013 Jeff Sharkey <jsharkey@android.com> Always allow formatting of physical storage.

Also rebuild UI when volume state changes after a format finishes.

Bug: 8985206
Change-Id: I6208e385711b883fb6fc77cc76cbe425d740b0a8
torageVolumePreferenceCategory.java
6ad2e323f7733f39c6757a19a9ae9f5020cf9225 28-Mar-2013 Maggie Benthall <mbenthall@google.com> When user has DISALLOW_USB_FILE_TRANSFER set, disable settings controls.

Under Settings > Storage, remove the "USB computer connection" menu item.
In case someone launches the UsbSettings screen instead, also disable those checkboxes.

Change-Id: I59ec8b16bed4670beeac8d359e5368e4a659061b
emory.java
sbSettings.java
cfd328b64fe837a5c2d236bc78256abcbec65adb 18-Mar-2013 Jeff Sharkey <jsharkey@android.com> Allow disabling both MTP and PTP.

Require that MTP and PTP are mutually exclusive when enabled, but
allow them to be both disabled. Users can enable them again under
Storage menu item in Settings.

Bug: 6518257
Change-Id: I43419fa619ce2c62dd5e8c14d6c645d24fd8943a
sbSettings.java
e6c5003278184c202833209164ddf1ae8c083f12 06-Mar-2013 Jeff Sharkey <jsharkey@android.com> Remove guava dependency to speed up build.

Change-Id: I4cee4b6324e72e94c1241e10f3cdc507d65512cd
emory.java
torageMeasurement.java
sageBarPreference.java
420b193069c5ef70bfb766fbf9ddde8da9c0a4c1 22-Jan-2013 Elliott Hughes <enh@google.com> am d7d5b33b: am 375b6d98: Merge "Force closed at settings application when delete Misc files"

* commit 'd7d5b33bcd78680d475c92fca7bafc4ac4279621':
Force closed at settings application when delete Misc files
d7d5b33bcd78680d475c92fca7bafc4ac4279621 22-Jan-2013 Elliott Hughes <enh@google.com> am 375b6d98: Merge "Force closed at settings application when delete Misc files"

* commit '375b6d985be9203fb221eb42810e586e196c34f8':
Force closed at settings application when delete Misc files
aee4b75abac61a9e2755eba27fea9d344e6ae80a 15-May-2012 Predrag Stanojevic <predrag.stanojevic@sonymobile.com> Force closed at settings application when delete Misc files

NullPointerException in MiscFilesHandler.java, missing check to
ensure that dir.list() does not return null.

Change-Id: I13aac19949826b385610fd1fee2befb411684023
iscFilesHandler.java
3f9c9b6eaeef67ca01f427bbd9295ae5bd6e0b1f 16-Jan-2013 Amith Yamasani <yamasani@google.com> Use bindServiceAsUser() to follow API change.

Change-Id: Ib12f1dcf7f3a5df7e166b732e1c29e7e9d0869ed
torageMeasurement.java
4e0391a733a3c5ba0c23c00c165aeb580426cee1 07-Dec-2012 Wink Saville <wink@google.com> am 49c4de7f: Merge "Format change at "Mobile network type" value"

* commit '49c4de7f139a1a3a60dc8f7e72acae710dba506f':
Format change at "Mobile network type" value
1fd3544c55eb707f894888da9aaf307a867db806 18-Oct-2012 Akira Oshimi <akira.x.oshimi@sonymobile.com> Format change at "Mobile network type" value

Remove "network type Number" from "mobile network type" value
at "About Phone > Status".

For example value "UNKNOWN:0" became "UNKNOWN"
(if value is "UNKNOWN", the word is localized)

The number ":0" did not add much value to the user.

Change-Id: Iee29fa2ab42f2d6eab5d9dbd6f647087ee382648
tatus.java
ac9bb0bdc0c2ef42d259e555187061a0ea95c8f2 05-Dec-2012 Jake Hamby <jhamby@google.com> am b39ab37a: am bc5d9271: Add latest area info broadcast to Settings status screen.

* commit 'b39ab37aa0e8be02a61c4245c181e523419ba703':
Add latest area info broadcast to Settings status screen.
bc5d9271a9d36ecf07ac35e1635f36679074de6f 04-Dec-2012 Jake Hamby <jhamby@google.com> Add latest area info broadcast to Settings status screen.

When the SIM has a Brazilian country code, add an item to the
status screen to show the most recently received area info cell
broadcast, requested from CellBroadcastReceiver, which also
broadcasts any updates to the area info. To read the area info
broadcast or request it from CellBroadcastReceiver requires
READ_PHONE_STATE permission.

Bug: 7445881
Change-Id: I387e23ecd0802b212ecb3e44f900a3a7a4b27e76
tatus.java
2ea50e2b5ba495895768505070fcd01574ba20ad 23-Nov-2012 Pawit Pornkitprasan <p.pawit@gmail.com> Settings: fix storage measurement for device without emulated sdcard

StorageMeasurement: misc files should only be measured for internal
storage only if it is the emulated storage, otherwise misc count
for the primary storage will be erroneously duplicated on the
internal storage count.

StorageVolumePreferenceCategory:
- Always create mMountTogglePreference to avoid null pointer
exception for code that relies on it existing
- Check if the keys exist before calculating totalValues to
avoid null pointer exception on storage where media is not
calculated
- For available/readonly, set title, not summary (summary is
supposed to be the amount available)

Change-Id: Ib217f79ee562dffc514696fff038e58ed0dba7d9
torageMeasurement.java
torageVolumePreferenceCategory.java
7fb91855b05b312e45bfded72d48e0cffcee4a44 24-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "Show more settings and add restrictions/dialogs for secondary users" into jb-mr1-dev
9627a8ea151c1f27e5e9f34592c7b34fea3101c3 23-Sep-2012 Amith Yamasani <yamasani@google.com> Show more settings and add restrictions/dialogs for secondary users

Bug: 7213029 crash in About>Status
Bug: 7212495 hide System updates for second user
Bug: 7212230 nickname editor should select the text
Bug: 7160487 TTS settings
Bug: 7129411 Settings needs visibility changes for secondary users

Change-Id: Ia2d1229c08b392edfa6b671fce4a382410405b14
tatus.java
0e9cf8a723c3e03207e905e8e03303ec4b5526dc 24-Sep-2012 Jeff Sharkey <jsharkey@android.com> Storage item to represent cached data.

When touched, offers to clear all cached data.

Bug: 7216370
Change-Id: I86afe66b819fb7deeba909bef507925fc5a590f3
emory.java
torageVolumePreferenceCategory.java
fda48e39d36dae29a5ab962f232ed26f54abb44f 19-Sep-2012 Jeff Sharkey <jsharkey@android.com> Always show auto-sync; user-specific storage.

Auto-sync is per-user, so show it to all users. Also create user-
specific path when showing misc storage items.

Bug: 7179485, 7177335
Change-Id: I9f6029e22d519a5516a0f1a76e6aa55db3c2832c
ileItemInfoLayout.java
ec6e66268829e09df3f2b9d68500e672d35a8008 14-Sep-2012 Jeff Sharkey <jsharkey@android.com> Treat cache storage usage as available space.

Bug: 7123160
Change-Id: I1b3f36622be557d7c47f1452832f67da40893a02
torageMeasurement.java
torageVolumePreferenceCategory.java
da13ec0cb454f1aadada2acf12291cfaf0a7b176 13-Sep-2012 Jeff Sharkey <jsharkey@android.com> Iteration on multi-user Storage UI.

Now that DefaultContainerService has visibility of external storage
for all users, we can measure internal storage in a single pass.
Internal storage measurement now iterates across all known users,
counting both apps and emulated storage usage.

Create MeasurementDetails object with documentation about what is
counted under various device configurations. Generalize to measure
each Environment.DIRECTORY separately, so it can be combined as
needed. General cleanup of how measurements are passed to UI.

Bug: 7003520
Change-Id: Ib89c185296a0c9debdc20beeaa98584d803a84e8
emory.java
iscFilesHandler.java
torageItemPreference.java
torageMeasurement.java
torageVolumePreferenceCategory.java
fc76a78c458ac90d7e050ffc233cf9e32a2d9c0b 12-Sep-2012 Jeff Sharkey <jsharkey@android.com> Include user identifier in external storage paths.

When building external storage paths, always include user in path
to enable cross-user paths and aid debugging.

Mostly changes so Storage doesn't crash; will take another UI
iteration pass soon.

Bug: 7131382
Change-Id: If7ec807f12a36eb8ed02a0fb94e8a0b3a6694f16
emory.java
torageMeasurement.java
torageVolumePreferenceCategory.java
04df8b77a40c06488a954a22cc5be638179b7747 07-Sep-2012 Jeff Sharkey <jsharkey@android.com> Iteration on multi-user storage UI.

Adds headers to distinguish between current and other users. Also
correctly orders color chips.

Bug: 7003520
Change-Id: I871f1a38d41dad5a5f7d97d91d2ebaac5951066c
emory.java
ercentageBarChart.java
torageVolumePreferenceCategory.java
sageBarPreference.java
96c2f8c50865e823e710be4d92f1589f978f03c2 07-Sep-2012 Jeff Sharkey <jsharkey@android.com> Progress towards split storage categories.

Cleans up StorageVolumePreferenceCategory creation, and uses new
isPrimary() API instead of passing around hacky "i == 0" derived
value.

Bug: 7003520
Change-Id: I9eb7164035b5368ee795e35b22e750aebbf3b159
emory.java
iscFilesHandler.java
torageMeasurement.java
torageVolumePreferenceCategory.java
90c8b20ccfd8f2e877bfac7cf3e883631af7a3e3 31-Aug-2012 Jeff Sharkey <jsharkey@android.com> Surface storage usage of other users.

Bring up separate StorageMeasurement sessions bound to other users
on device, and surface their total usage as teal colors. Exclude
app code size when measuring secondary users. Shift preferences to
using keys instead of fragile index ordering.

Bug: 7003520
Change-Id: I214d0b223e53955df71104502596743f049f2027
iscFilesHandler.java
torageItemPreference.java
torageMeasurement.java
torageVolumePreferenceCategory.java
534529d0cc08b5559aef2650d58aaf48c04727a0 24-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 88f37936: am 1183f487: Merge "MTP/PTP: disable erasing/unmount operation for SD card while MTP/PTP is active"

* commit '88f379367f208a75dfe95a081b25c27a54b06a1a':
MTP/PTP: disable erasing/unmount operation for SD card while MTP/PTP is active
1183f487c8ea8660415fcd30914844e8dc2de2bb 23-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "MTP/PTP: disable erasing/unmount operation for SD card while MTP/PTP is active"
b40815c150fb3b4a53e7447d249316e3b3fc9502 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 71742eb1: am 0c869d69: Merge "UsbSetting: The behavior is not right when enable/disable MTP/PTP with Accessory board connected."

* commit '71742eb13276e93d18f6aead10a8f767134ab0af':
UsbSetting: The behavior is not right when enable/disable MTP/PTP with Accessory board connected.
b76be1f8d41c40c8d1d494d296c35ffed1d8ae59 20-Jul-2012 Wu, Hao <hao.wu@intel.com> UsbSetting: The behavior is not right when enable/disable MTP/PTP with Accessory board connected.

Add accessory flag to track accessory status. Disable MTP/PTP button
when Usb is working in accessory mode.

Change-Id: I3edcd2a7eb281db3bb9d345429643b77a237812e
Author: Wu, Hao <hao.wu@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 27200
sbSettings.java
1c7d15e841a03a62c5c89f514970a8ce14069c2f 14-Aug-2012 Jeff Sharkey <jsharkey@android.com> am 865a914f: am 42eb3fb2: Merge "Fix the issue the setting crashes after unmount SD card in landscape"

* commit '865a914fb5459dd5d6d676b11a09c95d15f2ef6e':
Fix the issue the setting crashes after unmount SD card in landscape
66e7f0a3935f7d0162a52bf65905c2904a65c2f1 24-Jul-2012 Chuanxiao Dong <chuanxiao.dong@intel.com> Fix the issue the setting crashes after unmount SD card in landscape

When rotate the phone, mLastClickedMountToggle and mClickedMountPoint
would be destroied which made dialog access NULL pointer.

Change-Id: Ic96fce93828ca7a6f8749fad6a258eb47831e062
Author: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 26569
emory.java
8218d3ba180505a52998caa1fd9f6a1647984e7f 20-Jan-2012 Li Gang <gang.g.li@intel.com> MTP/PTP: disable erasing/unmount operation for SD card while MTP/PTP is active

Check the USB connection status and MTP/PTP setting, if USB connected and MTP/PTP enabled,
disable the erasing and umount operation.
Judge SD card Mounting status and keep summary string.

Change-Id: Iff3e0f25b581bc462c88fff59eb93d765baaddd7
Author: Li Gang <gang.g.li@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 47043
emory.java
torageVolumePreferenceCategory.java
a82d9a8d37c67b37733c5bdfba26548f216a374d 25-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make Settings PercentageBar RTL aware

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I7c4c4207650fa4442f6eb20f2195101e23b1b0b2
ercentageBarChart.java
9ad4a89877363a6f1128b258f6535b29d2f778e2 14-Jun-2012 Wink Saville <wink@google.com> Use telephony-common - DO NOT MERGE

Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
tatus.java
5543404ae0ec9635b59d37fa01074ea598d539eb 14-Jun-2012 Wink Saville <wink@google.com> Use telephony-common

Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
tatus.java
c35b51f3c7746c29672d15e1564b04103c8d32bf 13-Jun-2012 Jeff Sharkey <jsharkey@android.com> am cd4428ce: Storage banner when device in low disk state.

* commit 'cd4428ce2c03fd355a3093fad6553636da9cef9b':
Storage banner when device in low disk state.
cd4428ce2c03fd355a3093fad6553636da9cef9b 13-Jun-2012 Jeff Sharkey <jsharkey@android.com> Storage banner when device in low disk state.

Bug: 6576409
Change-Id: I25f71935e312bf6efa832d10c22e3edbdc18f4fb
torageVolumePreferenceCategory.java
4e8150c42c08d144faa1ade09282f7f45be9636f 24-May-2012 Fabrice Di Meglio <fdimeglio@google.com> am 22af594c: Merge "Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)" into jb-dev

* commit '22af594c04045adbb9fe6a2cb7a69e40afd655b2':
Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)
c18cc43b28c9e24dadd85c3a5187b665a2741472 24-May-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)

- use an ID instead of a String for StorageVolume description
- use this ID for getting the correct localized version of the description string

Change-Id: If66868ecc84297322cb9a3f0b2d834f79dd019ca
torageVolumePreferenceCategory.java
cc62db8040b0d745816d7aacce1045d3c067589d 15-May-2012 Jeff Sharkey <jsharkey@android.com> am cda0663e: Merge "Enforce READ_EXTERNAL in Developer Options." into jb-dev

* commit 'cda0663eb9c3a324c543c504647c7661f2ac7b35':
Enforce READ_EXTERNAL in Developer Options.
caf15613c29870850da952e51aaebb8b84867c49 15-May-2012 Jeff Sharkey <jsharkey@android.com> Enforce READ_EXTERNAL in Developer Options.

Move from Storage to Developer Options, and add interstitial dialog
with more details.

Bug: 6461446
Change-Id: I6d3d8fdc61a3e920ed58ab4d726949ac3c31feab
emory.java
404e3a75922668b3d7709f5a5e23d611101c88d1 03-May-2012 Amith Yamasani <yamasani@google.com> am b3c17c57: Merge "Removing static reference from sUnknown"

* commit 'b3c17c570a6c26ece11b404a5918ce4bd64a0940':
Removing static reference from sUnknown
3fd8051a89c5fbcd52b83566a05f0edb919414a5 23-Apr-2012 Amith Yamasani <yamasani@google.com> Don't let monkeys launch storage management activities.

Guard against monkeys in two places where intents to other activities are
launched.

Bug: 5415988
Change-Id: Ia3c5514c02423f7b249f655296bb02e279789dfd
emory.java
44dda2d7f52007d2ef33b9e9b9b9b1ec84c5582e 23-Apr-2012 Jeff Sharkey <jsharkey@android.com> Use statfs() in IMediaContainerService.

Since Settings runs in system UID, it needs to export statfs()
operations to IMediaContainerService.

Bug: 6346248
Change-Id: I5801948211f0e55040da4850e3dd55b93f80798f
torageMeasurement.java
78a534af1b4045cdda2b21c49d1bb50c4f329d86 13-Apr-2012 Jeff Sharkey <jsharkey@android.com> Handle READ_EXTERNAL enforced by default.

Bug: 6131916
Change-Id: Icbdaf6c7febfb8f93992a1f32732d104c8c1848c
emory.java
11d3012c78fcd23d2dfc7830e03db191af7ba476 20-Mar-2012 Jeff Sharkey <jsharkey@android.com> Enforcement control for READ_EXTERNAL permission.

Surface enforcement controls for READ_EXTERNAL_STORAGE permission
using new PackageManager API.

Bug: 6131916
Change-Id: I0ece4742666fda58e41410cb4b0b7175f280fa31
emory.java
e37f427cbb9b382fbdf64420d2592be19e627544 18-Feb-2012 Robert Greenwalt <rgreenwalt@google.com> Use the framework rather than RIL constants

bug:5717664
Change-Id: I07f8fe3a874aff775e4be8513cd020bf9d090b6a
tatus.java
41e70e67fa218858a38a4105b3fbadcd4f82c846 25-Jan-2012 Gustavo Waku <gustavo.waku@gmail.com> Removing static reference from sUnknown

Removing static reference from field sUnknown
allows framework to handle properly resources.
Current implementation holds an instance of
sUnknown, final user sees "Unknown" field on the
IMEI SV [ Menu > About > Status ] even if the
language set is other than english.

Change-Id: I6345f578577e631782c0598bfa44ff4de04c6261
tatus.java
7c5c16565eccde0b98f7ad08a0f06ff51e8e90ce 13-Oct-2011 tk.mun <tk.mun@samsung.com> Wimax : 4G settings menu and 4G MAC address.

1. Show the 4G menu.
2. Show the 4G MAC address
3. Execute 4G setting apk.

Change-Id: I14adc4775d35afe3398ddba4fd91c739011a06fa
Signed-off-by: tk.mun <tk.mun@samsung.com>
bug:5486930
tatus.java
e790a067cbed209bc0bcf1d5e47c91904f032869 19-Oct-2011 Chih-Chung Chang <chihchung@google.com> am 0bcd8a95: Fix 5352588: Accept view intent without URI.

* commit '0bcd8a95a96566d9e2c97c3305ee0dccf758ca7a':
Fix 5352588: Accept view intent without URI.
0bcd8a95a96566d9e2c97c3305ee0dccf758ca7a 18-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5352588: Accept view intent without URI.

Change-Id: Ibfcf32a7d27c3ac2d3fa3695e430b3e29f3ecd20
torageVolumePreferenceCategory.java
6822b749bbd525abcf492e4f5a236d77a910331a 18-Oct-2011 Amith Yamasani <yamasani@google.com> Show IP address of current active link instead of just the WiFi IP address.

Bug: 5359194

Show "Unavailable" only if there's no active link.

Change-Id: I82ba6bda3a08ea84080a8d8cda331f22d7c7a2bd
tatus.java
df5ab21d21fac3107fed231d4469e5bc26a089f6 27-Sep-2011 Amith Yamasani <yamasani@google.com> am ae69755a: Disable USB connection type when monkeys are running.

* commit 'ae69755aa874dbac77e9874d9716ab891a144193':
Disable USB connection type when monkeys are running.
ae69755aa874dbac77e9874d9716ab891a144193 27-Sep-2011 Amith Yamasani <yamasani@google.com> Disable USB connection type when monkeys are running.

Bug: 5375336

Also use the correct API for testing if monkeys are running.
(ActivityManager.isUserAMonkey())

Bug: 5375910
Change-Id: I2bf8e061ee5977d521de197d3a92095c1a98218d
sbSettings.java
ed9d461818780a6c38a081030a55983ea0883fa6 18-Sep-2011 Mike Lockwood <lockwood@android.com> Fix race condition in MTP/PTP checkbox updating

UsbManager.getDefaultFunction() might not return the updated state immediately
after changing the USB configuration, so do not rely on it for updating
after a checkbox has been clicked.

Change-Id: I5ae8d46854f24403cda2c62e006c742dcd257d1d
Bug: 5334777

Signed-off-by: Mike Lockwood <lockwood@android.com>
sbSettings.java
2a32192329ac47da1e64f7085f4317212e99a3bf 08-Sep-2011 Ben Komalo <benkomalo@google.com> Force storage wipe if not removable and encrypted

Bug: 5017638
Change-Id: I43c98359eff7202437249675060ba964e1bd085c
emory.java
8af88fb8387259e51615709b2d1ea0260f7057fd 31-Aug-2011 Robert Greenwalt <rgreenwalt@google.com> Use the new isNetworkSupported api for wifi-only

Didn't have an API for this before so people used a hacked system property (ro.carrier)
to determine if the device supported mobile data. Added new API and switching callsites.

bug:5087537
Change-Id: Ibd799559be102a9e2fd552d1a23d1afbcf8f4614
tatus.java
cba7d938bbca392352d8aee733e913844c96e9fa 06-Aug-2011 Gilles Debunne <debunne@google.com> Format volume option restored

It was removed independently of the state.
As a result an "Erase USB Storage" option is now available on the Nexus S.
I guess this is WAI.

Change-Id: I8765808924085c10ebf213da7f825db70017d0aa
torageVolumePreferenceCategory.java
c9026c9edb9d333b02db4ec2e1a6004c256a8ce1 03-Aug-2011 Christopher Tate <ctate@google.com> Always put 'USB COMPUTER CONNECTION' into the overflow menu

Bug 5011831

Change-Id: I93d24a16508cfcc9f81b8bd3ad43cfffe52db1d5
emory.java
688605ec02f99ecd424aeaf31f5e966bbee5f6be 02-Aug-2011 Mike Lockwood <lockwood@android.com> USB: Fix problem updating status of MTP/PTP checkboxes

Change-Id: Idc12e8cce2cde6aca71e05943e2f2d9a0becce6c
Bug: 5108883

Signed-off-by: Mike Lockwood <lockwood@android.com>
sbSettings.java
37481d731ad685230e439564b113972812b857a6 01-Aug-2011 Mike Lockwood <lockwood@android.com> USB Settings: Remove AFT installer CD; add help text to MTP and PTP widget summary

Bug: 4335199

Change-Id: I5f2a5d650a184b528028596e03e01ea98bf3815f

Signed-off-by: Mike Lockwood <lockwood@android.com>
sbSettings.java
a4379d6b38e568fcb60831d6f2fa349ba20f9b82 22-Jul-2011 Amith Yamasani <yamasani@google.com> Use a different wallpaper fragment title from the preference item.

Change wallpaper list ordering to alphabetic.
Display battery level and charging status in Battery settings.

Change-Id: I8ead0fb0f018c79ed258bd1c1ca3f8ecaf32da83
tatus.java
23a006236b2c8fc2b4ee5da35912150c7d6756d0 20-Jul-2011 Mike Lockwood <lockwood@android.com> USB: Add dialog with instructions for installing AFT

Bug: 5032807

Change-Id: Ic7737629c6081a3d6192e060da525fcc4c494919
Signed-off-by: Mike Lockwood <lockwood@android.com>
sbSettings.java
6d11dc5c8c98d0a93e23d48774e863df17da01ca 18-Jul-2011 Mike Lockwood <lockwood@android.com> USB: Toggle installer CD menu title when installer CD is enabled/disabled

Bug: 5032789

Change-Id: I0710133b2318147c7556e9f970f4443511ee1729
Signed-off-by: Mike Lockwood <lockwood@android.com>
sbSettings.java
53c8c1b8e7ebfbb53857e956e29d3b73659d2e96 14-Jul-2011 John Wang <johnwang@google.com> am 25bd33e1: am d7b2dccb: Display IMEI and ICCID for LTE device.

* commit '25bd33e1cfb753ff0a118e6c84f6e23163713b69':
Display IMEI and ICCID for LTE device.
25bd33e1cfb753ff0a118e6c84f6e23163713b69 13-Jul-2011 John Wang <johnwang@google.com> am d7b2dccb: Display IMEI and ICCID for LTE device.

* commit 'd7b2dccbe60a02965186d28f0b671ef1c419a2a8':
Display IMEI and ICCID for LTE device.
d7b2dccbe60a02965186d28f0b671ef1c419a2a8 12-Jul-2011 John Wang <johnwang@google.com> Display IMEI and ICCID for LTE device.

Display IMEI nad ICCID in About tablet / Status for LTE devices.

bug:4983512
bug:5001888
Change-Id: I4c418b159b49bef96acd5ef300c9b71379821d1b
tatus.java
b7609ff9990e583d62c9af0080d741884a9c5a06 09-Jul-2011 Gilles Debunne <debunne@google.com> Storage correctly updates internal storage graph.

The estimated used size used to be displayed next to the actual applications' size.

Change-Id: I9a9bf1faf638f8495507930e531ca4c851558f26
emory.java
torageMeasurement.java
torageVolumePreferenceCategory.java
02900a12b11efc89057fc5d0a19c08d20ff8d2c1 30-Jun-2011 Mike Lockwood <lockwood@android.com> Super rough implementation of new USB settings

There does not seem to be a way to implement radio buttons in a settings screen,
so I am using check boxes as a temporary hack.

Change-Id: I2d2c7931f689ff04608662b64aafc4862cfef48e
Signed-off-by: Mike Lockwood <lockwood@android.com>
emory.java
sbSettings.java
2d9357f6d0b981d6e00b6fb057eec110d49ff944 30-Jun-2011 Amith Yamasani <yamasani@google.com> Fix a crash on certain devices in Storage settings.

Bug: 4980974
Change-Id: If4b89f9cb1813c30ced6d7093381a01a5aa00346
emory.java
bd9ddab4f4e1f47b141abdcc0248cc716112b3c7 28-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix up storage UI for old USB storage.

- In the storage overview, if storage is not emulated then we have a
new first section showing internal storage.
- In manage applications, we know show storage use on the SD card
separately from internal storage use.

Change-Id: I7eb993f59fdb5de5f5dcfe4a3bc2b95ae30d754a
emory.java
torageMeasurement.java
torageVolumePreferenceCategory.java
6fc9c2fd3733ee935cc7dbc648378b87f71351ca 13-Jun-2011 Mike Lockwood <lockwood@android.com> am c938a02b: am c1db1192: am d2a6f28f: Disable option to format SD card for secondary external storage

* commit 'c938a02bc69434840340dcebb8ac16b6dcfb8b60':
Disable option to format SD card for secondary external storage
c938a02bc69434840340dcebb8ac16b6dcfb8b60 13-Jun-2011 Mike Lockwood <lockwood@android.com> am c1db1192: am d2a6f28f: Disable option to format SD card for secondary external storage

* commit 'c1db119250fd481341c095f47a62adb14ad09484':
Disable option to format SD card for secondary external storage
d2a6f28fa7ba8189d2a1987129db27fd840fac0f 11-Jun-2011 Mike Lockwood <lockwood@android.com> Disable option to format SD card for secondary external storage

This is a temporary workaround for an interoperability problem with MTP

Change-Id: Iaf63ea0ac76e12ffd635765785da027cab0fcb9a
Signed-off-by: Mike Lockwood <lockwood@android.com>
torageVolumePreferenceCategory.java
94129ad9a2002643e8bdd85adcc7adcf964db8b3 08-Jun-2011 Gilles Debunne <debunne@google.com> am 62634b30: am 440ca974: am 8f1bd8a7: Bug 4539424: confirmation dialog always shown

* commit '62634b309ab6c352a37c4d79d50fc78ab806304f':
Bug 4539424: confirmation dialog always shown
adcbf72c80232b0c019c11b9cdf2303a7bd97d27 07-Jun-2011 Marco Nelissen <marcone@google.com> am 079e30cd: resolved conflicts for merge of 531bed61 to honeycomb-plus-aosp

* commit '079e30cd2a09388ba9ad2149a66de86be4f3a7ac':
Allow alternate string to be used for min_number
19a5d81ed48d2887a7a7b002aba2e8e9bd81cebb 07-Jun-2011 Gilles Debunne <debunne@google.com> am cfe26919: am 533b7b53: am 90599cdf: Merge "Used space visible in SD Card bar graph" into honeycomb-mr2

* commit 'cfe26919abcd3c466f40b437d084311bf025d449':
Used space visible in SD Card bar graph
986897e7709316446a9a8d9a8d28a62ed7010087 07-Jun-2011 Gilles Debunne <debunne@google.com> am b7e7a8cb: am 2a9dfc5c: am 99da1a22: Always show unmount confirmation dialog

* commit 'b7e7a8cb9cfa8b6fb7cd6b6d10913a00c45967f9':
Always show unmount confirmation dialog
62634b309ab6c352a37c4d79d50fc78ab806304f 07-Jun-2011 Gilles Debunne <debunne@google.com> am 440ca974: am 8f1bd8a7: Bug 4539424: confirmation dialog always shown

* commit '440ca97483553d2656b90001beabe76d38773544':
Bug 4539424: confirmation dialog always shown
079e30cd2a09388ba9ad2149a66de86be4f3a7ac 07-Jun-2011 Marco Nelissen <marcone@google.com> resolved conflicts for merge of 531bed61 to honeycomb-plus-aosp

Change-Id: I28154c6feb563712eeda3e1176d62c7d2a28eff8
8f1bd8a7526edf49196430be214acb54e66a63ee 07-Jun-2011 Gilles Debunne <debunne@google.com> Bug 4539424: confirmation dialog always shown

Change-Id: Id1e2a52a07255e2c98cbd0e8151a82d7a2612517
emory.java
90599cdfe8ff528b34e3578333c5eea83cf3b293 07-Jun-2011 Gilles Debunne <debunne@google.com> Merge "Used space visible in SD Card bar graph" into honeycomb-mr2
99da1a22a35eed631a757ccbf1bac1d7af74124d 03-Jun-2011 Gilles Debunne <debunne@google.com> Always show unmount confirmation dialog

Somehow related to bug 4534261

Change-Id: I2a64406ced4a2c231114d7bb949b84c59199fd82
emory.java
4f734d9d590d0f75a60d744d97218eb54faa4330 03-Jun-2011 Gilles Debunne <debunne@google.com> Used space visible in SD Card bar graph

Bug 4544470

Change-Id: Iccae9bb568f1f7baf81c702f29f7a9e238d39d2b
torageMeasurement.java
torageVolumePreferenceCategory.java
8d055f3270d5de4ae9647f620dddfbed5b929de3 03-Jun-2011 Gilles Debunne <debunne@google.com> am b667422c: am 41a99004: am 53872769: Merge "Erase SD Card fixed in Settings/Storage." into honeycomb-mr2

* commit 'b667422cfdaf73d693bf79ce6186e082b68862b8':
Erase SD Card fixed in Settings/Storage.
6789b56c238741f8f29efb2a13c0bd826225efe5 01-Jun-2011 Gilles Debunne <debunne@google.com> Bug 4505185: fix NPE when file list is empty

Change-Id: Ia120f92f2d907cdfccde5824179ef2e1f0c0d6a6
torageMeasurement.java
6d36fd3a03299b9b1bdaaceef2bfaa8714c3fa72 26-May-2011 Gilles Debunne <debunne@google.com> Erase SD Card fixed in Settings/Storage.

Adding the StorageVolume to the format intent.

Change-Id: If1a50a2d5c5154e9f00116db536c62324c447e7c
emory.java
iscFilesHandler.java
torageVolumePreferenceCategory.java
95364e4af3cb09bff58baab6fa4a6a2218e7fc94 24-May-2011 sy310.choi <sy310.choi@samsung.com> Allow alternate string to be used for min_number

"MSID" can be shown instead of "MIN" if config_msid_enable
is set to true.

Change-Id: I6d072a5db9a5b46b17a57257221e109ba9a86698
tatus.java
d7928912d45ab510870867165a590c82371db23b 26-May-2011 Gilles Debunne <debunne@google.com> resolved conflicts for merge of b593a628 to master

Change-Id: Icf8a913e8780bb7d998cc9f4d0ed91ed66348dc6
104ea2873dff5fa3a5f6bd4cfdb893bac3527fdf 19-May-2011 Gilles Debunne <debunne@google.com> Storage stats on external SD card in Settings.

Storage categories are dynamically created from list of StorageVolumes instead
of a static XML.

Unknown files' sizes are part of Misc rather than Apps.

Categories with a size of 0 are removed.

TODO : remove the notion of a "nosdcard" product. Change strings accordingly.
See all TODO in code

Change-Id: I017ac20f5fa50ad9bdeba8e666754ec84acf3858
onstants.java
emory.java
emoryMeasurement.java
iscFilesHandler.java
ercentageBarChart.java
torageMeasurement.java
torageVolumePreferenceCategory.java
5162a23b2139ca978fd3e9324852b4a87a53afd6 13-May-2011 Gilles Debunne <debunne@google.com> Refactoring in memory storage stats

Removed hard coded NUM_MEDIA_DIRS_TRACKED - 1 in loops and used actual
constants instead to make it less brittle if we add more categories.

Change-Id: I51ce9e7faca1ee55cf369eedf9422628b9501e13
onstants.java
emory.java
emoryMeasurement.java
783be0a24f328d7e781b5765b7688c55fb24c89c 06-May-2011 Gilles Debunne <debunne@google.com> Fixes in UsageBarPreference

The widget layout that was used resulted in a clipped usage bar.
It also had a 6dip left offset inherited from the default layout
which adds margin after the text (even if the text is empty here).
Used a custom layout for the whole preference to fix this issue.

Other fixes in the drawing code to prevent accumulative rounding
issues.

Change-Id: Ief9bf85260345355615c9670624d86f0893eb2d2
emory.java
ercentageBarChart.java
sageBarPreference.java
6c28e35b82c843c1acdcef3b82ef28291de9f375 20-Apr-2011 Dianne Hackborn <hackbod@google.com> Fix crash if no external storage.

Change-Id: If5b0386b686d65cf9026a3c00459db371ab81b3a
emoryMeasurement.java
36469186b7459d13688a2ca1c2316dbf172794dd 23-Feb-2011 TK MUN <tk.mun@samsung.com> DO NOT MERGE WiMAX settings menu

1. Show the 4G menu.
2. Show the 4G MAC address
3. Execute 4G setting apk.

Change-Id: Id9d5551e5bfdb7d79279de42b36ec0ebccdf6099
Signed-off-by: TK MUN <tk.mun@samsung.com>
tatus.java
340e85d1d029ddd96b368da27a8e36bc41da19a7 02-Mar-2011 Vasu Nori <vnori@google.com> bug:3321005 make Settings --> Storage screen display little less ugly

I have implemented most of what the UX designer proposed. except these
1. Percentage Bar chart left padding should be 16dip
2. Percentage Bar chart and Total Space preferences should be combined into
one singne ViewGroup or something. and "total Space" shoudl be aligned
on the right border

Change-Id: I9b238eaa561c9837b47b9955e7d718d92543ca34
emory.java
0c62c6449bf2c0954653b996a3bfb269a64c6562 02-Mar-2011 Amith Yamasani <yamasani@google.com> am 38d3353e: am 03e90322: Merge "Remove more entries not relevant to wifi-only devices." into honeycomb

* commit '38d3353e37be450b1b95d2525acbd53e9b67130e':
Remove more entries not relevant to wifi-only devices.
c06d4c48a9455d6018f2d793c6b8f211f1131055 25-Feb-2011 Amith Yamasani <yamasani@google.com> Remove more entries not relevant to wifi-only devices.

Bug: 3488384
Bug: 3487976
Bug: 3488381

Removed Cell standby entry from Battery use screen.
Removed Mobile signal strength from BatteryHistory screen.
Added wifi IP address to About->Status
Remove auto-timezone checkbox in Settings->Date & time

Change-Id: I228721a3613b1aeb600026e42274337886552698
tatus.java
e18897bc2242110782fca135e9e47fcdb5839d64 26-Feb-2011 Doug Zongker <dougz@android.com> am 26c433c1: am 489c7bff: show Build.SERIAL in settings > about > status

* commit '26c433c1c64416aed4736bb5a76b0ac4585958a1':
show Build.SERIAL in settings > about > status
489c7bff5c54c35e7156a99337d538e08f3aab7f 25-Feb-2011 Doug Zongker <dougz@android.com> show Build.SERIAL in settings > about > status

For wifi-only devices, this may be the only way we have to identify
the device.

Change-Id: I70c09e4cdb101282e5d085bcab3f57c890bc7a98
Bug: 3490911
tatus.java
587aebad8a6644a20080b33677d2e5f246d70968 25-Feb-2011 Vasu Nori <vnori@google.com> Merge "replace some ugly code with not-too-ugly code.."
8128ff8cbe239c1d50f8ba12cf375c754862df0a 25-Feb-2011 Vasu Nori <vnori@google.com> replace some ugly code with not-too-ugly code..

replaced this kind of code
string + " " + number + "out of" + " " + number
with this
String.format("%1$d out of %2$d", number, number);

Change-Id: If1cc296da48dd6823e9081a55b6eab2e3fcee552
iscFilesHandler.java
76c5328935ab6fb10b283a1de280884bca2a0f33 24-Feb-2011 Kenny Root <kroot@google.com> Data race in initialization of misc files info

Bug: 3480796
Change-Id: I1ff2e7c167872f4e2f11c93981b2dd6ebd0ee897
emory.java
emoryMeasurement.java
0ba170c9793b3cc0ee8aa451999858b19ecd6f5e 18-Feb-2011 Wink Saville <wink@google.com> Merge "Changes for ril.h version 6."
21809740f2fd8fe8df4e300e5d1d15f0ccedbb5f 25-Jan-2011 Vasu Nori <vnori@google.com> display amount of storage on /sdcard by downloads, music etc

when music storage usage is clicked on, show music app
when downloads storage usage is clicked on, show download app
when pic/videos storage usage is clicked on, show gallery app

Change-Id: Ia1c341013e550acb537e6f8a4f4558030888cc45
onstants.java
ileItemInfoLayout.java
emory.java
emoryMeasurement.java
iscFilesHandler.java
882c74a6799d24c766e3db81a316743bbe11e0be 17-Feb-2011 Wink Saville <wink@google.com> Changes for ril.h version 6.

Change-Id: I7e269e5a971c70d6d9a1731b82c538b722cbc01d
tatus.java
a3314e2bdb77dc6d9e70980f76bb45631abe7fb5 28-Jan-2011 Vasu Nori <vnori@google.com> bug:3402846 fix settings->storage

Change-Id: Icb9e33cb0336f87f43797330f56e9c8fcbe2dfd0
emory.java
0ee51e04fb5c39a6272d142efc09d36aa3fbd0ec 25-Jan-2011 Hung-ying Tyan <tyanh@google.com> Allow OnCancelListener and OnDismissListener in Settings app

for the framework-managed dialogs.

DialogFragment acts as both listeners so the application cannot set both
listeners in the embedded dialog. New hooks are added in SettingsDialogFragment
so that settings apps can do so for the framework-managed dialogs.

Bug: 3386670
Change-Id: I144e7c4ccf7f86c61f6079fa86d830c709335af1
emory.java
b409b904d603f53bad0700555569875e61fc5231 24-Jan-2011 Amith Yamasani <yamasani@google.com> Bring back the MDN (phone number) status even if there's no voice.

Needed for carrier customer support purposes.

Bug: 3351493

Change "My phone number" string to "MDN".

Change-Id: Icee0f97348034a9fb7f79a3c48868d5f74edabb1
tatus.java
3785e390d2538b11d98be17388af69c97c8995b2 19-Jan-2011 Kenny Root <kroot@google.com> Don't show separate option for erasing USB storage

On devices with emulated USB storage or SD card, factory reset will wipe
all data from that area. Given that, it doesn't make sense to show a
different option for wiping USB storage.

Bug: 3242568
Change-Id: I257bdde06141f14381c8c09ce6a42c18d7080efd
emory.java
fdf7220a03b6e823807b3786b727a9be598d01b5 17-Jan-2011 Vasu Nori <vnori@google.com> bug:3308791 appusage should include space used on /sdcard

when "application usage" is clicked on, drop the screen into
Settings --> Applications --> Manage Applications
(all tab, sorted by size)
Change-Id: I64e11ae9a92529b5fb2781941e532951ad3d04c1
emory.java
emoryMeasurement.java
d31f4925d100b54e21dd624760db238aac76a6ab 16-Jan-2011 Vasu Nori <vnori@google.com> bug:3343038 reset mAppsSize everytime ALL package sizes are computed

Change-Id: I981d84a165777246dd9744b0f8f7bc6fc0cb3e33
emoryMeasurement.java
ffe813c380d7609fb94c65337b0964952f19c130 09-Jan-2011 Amith Yamasani <yamasani@google.com> Remove phone number status conditionally for devices without voice.

Bug: 3041861

Change-Id: I36fb6c584c24b995da0ac4e3b41d860f3a6f5396
tatus.java
998da3332bf48045460a0f0cd511deb486b55580 05-Jan-2011 Amith Yamasani <yamasani@google.com> Recheck the storage sizes when Storage settings is resumed.

Bug: 3312629

When the Storage fragment is displayed, invalidate the measurement
object so that it recomputes the used space on all partitions.
emory.java
42a92e83a1f91d5e150ce069636f588a3609e69c 17-Dec-2010 Kenny Root <kroot@google.com> Add minTickWidth for the bar chart

At jsharkey's request.

Change-Id: Ic489e534fe793fc7ec3fd2bedc5bb256be99daec
ercentageBarChart.java
e4330890d6996bd1ad65bc6c5ab1dfb39f224ea4 14-Dec-2010 Kenny Root <kroot@google.com> Refactor memory measurement

Move out all the memory measurement to a separate class that can cache
all of its data through orientation changes.

Tweak the display to make it draw large squares for the legend instead
of a 1x1 square. Add padding to the percentage bar chart.

Change-Id: I4cd5bc4ba31a422a55740e8f58e5e571cf9866a5
emory.java
emoryMeasurement.java
ercentageBarChart.java
bbef4f9a7d23515ebec979b98b88db59c3b3adff 31-Aug-2010 Mike Lockwood <lockwood@android.com> Revert: Add checkbox to enable PTP USB mode.

Change-Id: I7c00c3c3c5da66a31a68fe0767302d2cdda526a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
emory.java
b8f9ab6792b621e34441ebf08574325e98fba340 10-Dec-2010 Mike Lockwood <lockwood@android.com> Rename android.hardware.Usb to UsbManager

Change-Id: Id0c0659c29190609bf9ccf4acb56b9402157f41a
Signed-off-by: Mike Lockwood <lockwood@android.com>
emory.java
511c8cf103193fb41c915941b1b1d2a442a1ae12 03-Dec-2010 Kenny Root <kroot@google.com> Add usage bar chart to storage preferences

Change-Id: Ic3c118ac9194e226e6384e01c9ea7e150b1d9521
emory.java
ercentageBarChart.java
sageBarPreference.java
45e30006664ecbf527c72b859f71e30c83cee04b 19-Oct-2010 Dan Morrill <morrildl@google.com> Merge commit '593a7049f52d46a4e47162e2e3f2c5730e8ccfd8' into mergefix

Conflicts:
res/values/strings.xml
src/com/android/settings/deviceinfo/Memory.java

Change-Id: Id481ad234f2e74bdef66ea9485a548f11f0cab84
1337d0f70b18dd732c6a617be83e5be0bb8f2f87 14-Oct-2010 Dianne Hackborn <hackbod@google.com> Implement issue #3094621 and #3094609 - wipe sd card

3094621: add "wipe sd card" option to factory data reset
3094609: collapse unmount/format into one command

Implements requested UI changes. Also some final tweaks to
Manage Applications.

Change-Id: I0219195dd0c74d8c003ef1c3f6e09714859d7f89
emory.java
3d713b162ee13f49b2cbe95beafbabb109f859ff 31-Aug-2010 Mike Lockwood <lockwood@android.com> Add checkbox to enable PTP USB mode.

Change-Id: Icb139cc3d1077565fb8dbe9917d87c7337f59797
Signed-off-by: Mike Lockwood <lockwood@android.com>
emory.java
d79934731c8d33f6fc63b21c120b9ffba5d06f54 18-Aug-2010 Amith Yamasani <yamasani@google.com> Refactor settings top level activities to use fragments.

Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.

Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.

There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
emory.java
3d503e356f2a4ca6b5baaceec9ea0f04cf038609 24-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> When unmounting the sdcard, we are currently checking for apps that
have open file references on the sdcard. We also have to check for apps on sd
that are currently running. Use the new ActivityManager api to get a list of these apps before deciding to show the dialog.

Change-Id: Idb00fcbd0a3f314d75ee1662cb2b10a84569527a
emory.java
6f58b1b426b8c466881ad038f40b57e2f8dcca9d 23-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> The getStorageUsers only returns list of storage users accessing the sdcard.
We also have to check if applications on sdcard are currently running.

Change-Id: I4b6478bc834e956f963735f69829c5ba4c7fb8c2
emory.java
f42d5e7e2ee7dde31e64270246c2e3b8d573d61b 18-Mar-2010 David Brown <dab@google.com> Fix 2520977: NPE in com.android.settings.deviceinfo.Status

In normal operation, Phone.getLine1Number() returns an empty string if the
device doesn't know its own phone number for some reason. However the
monkey caught a case where it was returning null, which crashed the
Settings -> About Phone -> Status app.

However the javadoc for Phone.getLine1Number() *does* clearly say "May
return null if not available or the SIM is not ready", so the Status app
*should* gracefully handle this.

Now it does. (We display this case as "Unknown", just like if we get an
empty string.)

FWIW I grepped thru the rest of the code base for other uses of
getLine1Number(), and everybody else *does* handle null gracefully except
for one case in apps/Mms, which I'll open a separate bug about.

Bug: 2520977
Change-Id: I173561f903f116dbdc2b7c32b8011b59a9eb29d7
tatus.java
f25b3e04dbde05b025a0aaf6b1f555b8e16241b1 15-Mar-2010 Jeff Hamilton <jham@android.com> Format the phone number when displaying in the status settings panel.

Change-Id: I12e437696ebfa6ca8dcdc373f1387fd98e451e50
tatus.java
29d587fa1826d9f3411b650b4da030650ac686e0 22-Feb-2010 Suchi Amalapurapu <asuchitra@google.com> Add dialog when ejecting sdcard

Remove some dead code
emory.java
efb26fd2198a42243c1f63a33cb23d9f09815961 18-Feb-2010 San Mehat <san@google.com> Settings: sdcard: Refactor unmount calls for new api

Signed-off-by: San Mehat <san@google.com>
emory.java
a2175d1df2d0c6efd49c124be4d04eb962a28c5a 07-Feb-2010 San Mehat <san@google.com> Settings: Refresh sd settings screen after mount/unmount

Signed-off-by: San Mehat <san@google.com>
emory.java
1e60c9603e02f95158d21b4a2089dc45dffb41c1 05-Feb-2010 San Mehat <san@google.com> Settings: Refactor for new API and remove some unused references / imports

Signed-off-by: San Mehat <san@google.com>
emory.java
c4e8d7e21a25e2a075fd80abccaa5326c3232b9d 02-Feb-2010 San Mehat <san@google.com> Settings: Refactor for StorageManager namespace change

Signed-off-by: San Mehat <san@google.com>
emory.java
4a3d713f3aa1cb3b43343dd8af95ee858c8c6d8b 29-Jan-2010 San Mehat <san@google.com> Settings: Refactor for new API & remove obsolete setting

Signed-off-by: San Mehat <san@google.com>
emory.java
33b0202273269c35906d4080a7ef656a180d6f1c 12-Jan-2010 San Mehat <san@google.com> Settings: Switch to new MountService api names

Signed-off-by: San Mehat <san@google.com>
emory.java
35351faed3589813524f8951ab46c36cef9b505d 07-Jan-2010 San Mehat <san@google.com> settings: Change unmount button to a mount/unmount toggle

Signed-off-by: San Mehat <san@google.com>
emory.java
d1a04291c537e271999c7e7c5c72f1f61632aacf 08-Oct-2009 Nick Pelly <npelly@google.com> Update application code for BluetoothAdapter.getDefaultAdapter().

Change-Id: Ic8f2188a28631f55ceb048daff545ca5e6053f92
DrNo: eastham
Bug: 2158765
Joke: When is a car not a car? When it turns into a driveway.
tatus.java
d63c0112251ab4e4e977545368dd703d875012a4 15-Aug-2009 Nick Pelly <npelly@google.com> Bluetooth: Update Settings.apk to match BT API change.

Split BluetoothDevice into BluetoothDevice and BluetoothAdapter.

BluetoothAdapter: Represents the local BT adapter. Operations on the local
adapter (start a scan, etc).
BluetoothDevice: Represents a remote BT device. Operations on remote devices
(pair, connect, etc).
tatus.java
4c470091723e84dc894154a030f02b5153d286e5 31-Jul-2009 John Wang <johnwang@google.com> am ed47f1e4: Fix the NullPointerException in Status Info.

Merge commit 'ed47f1e497abf5ad31b1c7035ae04478e9932986'

* commit 'ed47f1e497abf5ad31b1c7035ae04478e9932986':
Fix the NullPointerException in Status Info.
ed47f1e497abf5ad31b1c7035ae04478e9932986 31-Jul-2009 John Wang <johnwang@google.com> Fix the NullPointerException in Status Info.

Fix bug 1964037 Phone states activity fail. It only happens in Zaku build. Zaku build overlay the device_info_status.xml under vendor/docomo and don't have CDMA related preference. Status.java will hit the NullPointerException when trying to remove the non-exist preferences.

modified: src/com/android/settings/deviceinfo/Status.java
tatus.java
620965ccc58a7623d564300eeee97ab5d77e1480 26-Jun-2009 Chouting Zhang <MichaelZhang@motorola.com> am 386278a3: CDMA Settings additions

Merge commit '386278a338d740dce95b7fa1514662b0eb5683e4'

* commit '386278a338d740dce95b7fa1514662b0eb5683e4':
CDMA Settings additions
386278a338d740dce95b7fa1514662b0eb5683e4 24-Jun-2009 Chouting Zhang <MichaelZhang@motorola.com> CDMA Settings additions

This patch implement CDMA Settings features
1. Add code to get MEID, MIN, and PRL value if the phone is a CDMA Phone
2. Display MEID, MIN, and PRL on Settings screen if it is a CDMA phone
3. Do not display IMSI, IMEI, and IMEI SV for a CDMA phone
tatus.java
30f5b68b7543489c7415de7cf4d2e458507072a1 15-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am a78edb54: Merge change 4127 into donut

Merge commit 'a78edb54182da5881f2f1e6bc76ae027a9a6f3e3'

* commit 'a78edb54182da5881f2f1e6bc76ae027a9a6f3e3':
Make the SD Card settings use the system file size formatter.
85f4357a4df6f3e7b1b13a9966cc467a7a547835 13-Jun-2009 Eric Fischer <enf@google.com> Make the SD Card settings use the system file size formatter.

The one built into the settings class wasn't internationalized.
emory.java
402a740f64b96ca2f906a79ba02c226d955e20dd 01-Jun-2009 Wink Saville <wink@google.com> am e2a14e35: Update some TODO comments.

Merge commit 'e2a14e35aa525de6cbc0179c67ec971295f2db03'

* commit 'e2a14e35aa525de6cbc0179c67ec971295f2db03':
Update some TODO comments.
e2a14e35aa525de6cbc0179c67ec971295f2db03 29-May-2009 Wink Saville <wink@google.com> Update some TODO comments.
tatus.java
76dce5843599606fab312323801398d11fdd49e5 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 81807831: Merge change 1582 into donut

Merge commit '818078310759e3fbd227c578e20a54e935b1b92a'

* commit '818078310759e3fbd227c578e20a54e935b1b92a':
Teleca 2b changes.
ead6928894c5f63ba8751962d93987b412b4b209 13-May-2009 Wink Saville <wink@google.com> Teleca 2b changes.
tatus.java
8762093e0094e09493fa6cbac8e8fbf265f18165 15-May-2009 Michael Chan <mchan@android.com> Findbug fixes in Settings app

modified: src/com/android/settings/ApnPreference.java
modified: src/com/android/settings/ApnSettings.java
modified: src/com/android/settings/BandMode.java
modified: src/com/android/settings/BatteryInfo.java
modified: src/com/android/settings/LanguageSettings.java
modified: src/com/android/settings/ManageApplications.java
modified: src/com/android/settings/RadioInfo.java
modified: src/com/android/settings/SdCardSettings.java
modified: src/com/android/settings/UsageStats.java
modified: src/com/android/settings/ZoneList.java
modified: src/com/android/settings/bluetooth/LocalBluetoothDevice.java
modified: src/com/android/settings/deviceinfo/Status.java
modified: src/com/android/settings/quicklaunch/QuickLaunchSettings.java
modified: src/com/android/settings/wifi/AccessPointDialog.java
modified: src/com/android/settings/wifi/AccessPointPreference.java
modified: src/com/android/settings/wifi/WifiLayer.java
modified: src/com/android/settings/wifi/WifiSettings.java
tatus.java
c38866843e966622346dc8f7b028749cac9c2198 02-Apr-2009 Wink Saville <> AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.

Automated import of CL 144245
tatus.java
f9e024198d3b16454287888bd5d40fee23390d23 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
tatus.java
5990cc129c1dfa52bf51bca49f214e3ea9078128 25-Mar-2009 Evan Millar <> Automated import from //branches/master/...@142436,142436
tatus.java
83368552d1f82cf7cc36f01dc3697e9607a43123 25-Mar-2009 Evan Millar <> Automated import from //branches/donutburger/...@142431,142431
tatus.java
d166402fc3421dcb58aa45ecf08e29b590b7d4a7 25-Mar-2009 Mike Ritter <> Automated import from //branches/donutburger/...@141180,141180
tatus.java
18f3afb9cdfc617e778e2807ee58da50f251790e 25-Mar-2009 Mike Ritter <> Automated import from //branches/master/...@141186,141186
tatus.java
72ed6feab24308a0acd1fa2135afa3476759cf39 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
tatus.java
afc4ab2ffbb8327ddce9907961295a32cbf49d0f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
emory.java
tatus.java
4e14e5ccbf1ef27220419849133d482a546d5c04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
emory.java
tatus.java
a578a6c4ad2924236a8882e3eb794474d57ca450 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
emory.java
8a156091eff22a360f802332daf2fe00b4267ad7 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
emory.java
477296898777d0bdf41fc49c047a6b9374f27fe1 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
tatus.java
1feaa85791b3b5cc66a16142afc2259a2356bc9e 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
emory.java
tatus.java
abc48f80d8747b4fc051b7dd364355ee667a9bac 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
emory.java
tatus.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
emory.java
tatus.java