History log of /packages/apps/Settings/src/com/android/settings/Utils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
90de3bebf432d0897607adaca281fe248cd6575f 09-Sep-2015 Christopher Tate <ctate@google.com> Disable app-link preferences for browser apps

Also make sure that the 'Clear defaults' action unsets the app's
standing as the default browser, when applicable.

Bug 23751034

Change-Id: I6131b763bfa76ba38d18cad2abbb35caffe789aa
/packages/apps/Settings/src/com/android/settings/Utils.java
7bdffd85ebae7b5b14eef07059cb501451476c7d 05-Aug-2015 Andres Morales <anmorales@google.com> fix CC for work profiles

Bug: 22257554
Change-Id: I09f62956d01f91d3014d9fa250aaff68ab5e1a9b
/packages/apps/Settings/src/com/android/settings/Utils.java
ddaa142a094a404d7c5e6d7eea93920f8ed16696 17-Jul-2015 Christopher Tate <ctate@google.com> Intent filters need CATEGORY_BROWSABLE to be app-linking eligible

Bug 22504009

Change-Id: I19ded70cf17936504a2a1becea2684d87952dff6
/packages/apps/Settings/src/com/android/settings/Utils.java
ce25af48383b26535ec07312ab0db6928bba1fe3 08-Jul-2015 Julia Reynolds <juliacr@google.com> Talkback improvements for Settings screens.

Bug: 21164141
Change-Id: I7444261ccf967f6db70c9fe44a00bd3f19ceb975
/packages/apps/Settings/src/com/android/settings/Utils.java
8023385e56e472a55e9c6f5034e04a10f1088f57 08-Jul-2015 Christopher Tate <ctate@google.com> Merge "App link handling is not just for "official" verified handlers" into mnc-dev
a08a225d184fa75bb066fcb2d151d589106986de 02-Jul-2015 Christopher Tate <ctate@google.com> App link handling is not just for "official" verified handlers

Allow apps to be enabled as link handlers for their accepted domains
even when they are not the "official" apps for those domains.

Also clean up a bunch of inconsistent/wrong state reporting in the UI.

Bug 22069429

Change-Id: Ic3b2bcc476dfc30085d3df7412b02bdc5d53df6d
/packages/apps/Settings/src/com/android/settings/Utils.java
5d69aaea2a0bab646e8b251e394da6fc4e446395 07-Jul-2015 Amith Yamasani <yamasani@google.com> Use localized name for guest user

Rather than use the stored name, which depends on the language
in use when the Guest was created, always try to use the localized
word for Guest.

Bug: 22205776
Change-Id: I1a4912b9561196eee811eae31c8df2b72413648f
/packages/apps/Settings/src/com/android/settings/Utils.java
67cd6ab93a526fe65877743e458590f4e6f187ee 08-Jun-2015 Tony Mantler <nicoya@google.com> Move ApplicationsState to SettingsLib

Also take InterestingConfigChanges along for the ride
and delete unused AppPermissionSettings

b/21328967

Change-Id: I4d0c1a27054845a54cf68e95a92024d2e46f636e
/packages/apps/Settings/src/com/android/settings/Utils.java
beb171d2e50f93b5fb78d73b372a4981e13e04ff 21-May-2015 Jason Monk <jmonk@android.com> Unbanish memory screen and new UX

Give memory screen a makeover so that it looks nice enough to be
restored to its rightful home.

Bug: 20694769
Change-Id: I2f6933037b3fbbfb0d9fe5e3ca821ef59e171faa
/packages/apps/Settings/src/com/android/settings/Utils.java
b45e27bc0f52d64a71aecba661770b30f6299301 20-May-2015 Jason Monk <jmonk@google.com> Remove data item from app info when not supported

Bug: 21207963
Change-Id: I91693d9a85c0905cbb021181967fa16aac61d3ea
/packages/apps/Settings/src/com/android/settings/Utils.java
bc95630994227736aff46885ca1d9345829e83e2 09-Apr-2015 Sudheer Shanka <sudheersai@google.com> Update warning dialog on work profile deletion.

Bug: 20024761
Change-Id: I23b0eaa7742d9d23a29a2a48ab6e3d92fe310560
/packages/apps/Settings/src/com/android/settings/Utils.java
0ce64e26c03e5d826bbb4bc041b8ca59b6c19b8b 20-Apr-2015 Stuart Scott <stuartscott@google.com> Merge "Correct the way settings deals with subscriptions."
b5aa73f46f812ba03518a6d1ac218e3af5975236 31-Mar-2015 Jason Monk <jmonk@google.com> Fix loading screens for manage and running apps

Also add loading screen to manage permissions as this can take a
long time to load in some circumstances. Build loading screens into
Utils and SettingsPreferenceFragment so that it can be easily used
other places in the future.

Change-Id: I7febd06695487e02ced793a9fd418051b5f0eab8
/packages/apps/Settings/src/com/android/settings/Utils.java
f51d00635028c0b87dd431c33c932ad20202d032 08-Apr-2015 Stuart Scott <stuartscott@google.com> Correct the way settings deals with subscriptions.

Change-Id: I19e9dfaf248fce7376b124ee91de7e73fdc99fb3
/packages/apps/Settings/src/com/android/settings/Utils.java
8b2ea39cbc5b0923646b5ad4d5f66ff3c66a9f7f 24-Jan-2015 Fabrice Di Meglio <fdimeglio@google.com> Settings - add support for Launch by Default

- implement UX spec

Change-Id: I7ee8962f83983273d809e0ef6fc81b0eb2df15dd
/packages/apps/Settings/src/com/android/settings/Utils.java
2ebc8a01696c4e7dd29863b92a15ae0bbbbb254d 13-Feb-2015 Jason Monk <jmonk@google.com> Allow system apps to add to settings dashboard

Allow system apps to add a tile to the top level of settings that
links to an activity through adding a filter for a specific action.
Determine the info for the tile based off manifest info for the
activity. Also allow the same for managed profiles, but show a dialog
in between to select which profile.

The category in which the item is to be placed must be in meta-data.
The icon and title can be specified through meta-data as well or
if unspecified the activity's label and icon will be used.

Also added an optional <external-tiles> tag to the dashboard
category xml, this allows Settings to put external tiles
in the middle of some categories (Personal does this).

Bug: 19443117
Change-Id: Idc9938d1549d181103a3030a8784b527215a8399
/packages/apps/Settings/src/com/android/settings/Utils.java
e5814ffb1843e476af3f90f00bc12837591f915e 19-Dec-2014 Zoltan Szatmary-Ban <szatmz@google.com> Make default user icons retrievable as cached bitmaps

Also invoke that method where formerly we did a UserIcon.convertBitmap(
UserIcon.getDefaultUserIcon(...)) call.

Bug: 19620707
Change-Id: I2ae3bbcee7d1c6515f0f6253925ef9837d8e3548
/packages/apps/Settings/src/com/android/settings/Utils.java
dff3faaf30bd6d695e4d9f632af53dbc73cf6506 27-Feb-2015 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #19313587 Settings unusable when userdata is full

- take care of low storage space use case: do not start
and Index update if we are is low storage space situation.

Change-Id: Ifa5bb618d087826c004b06aa7821b9634038734c
/packages/apps/Settings/src/com/android/settings/Utils.java
2e18bd9dbc78160621e1368b6ba21d55e6311edc 09-Feb-2015 Zoltan Szatmary-Ban <szatmz@google.com> Merge "Remove frame and shadow from CircleFramedDrawable"
2c228d8d7a0180f4756e018bc90dabfad60e6caa 09-Feb-2015 Zoltan Szatmary-Ban <szatmz@google.com> Merge "Eliminate duplicated code in Settings for category headers"
3af2e4c35c898d61b6268f22123135b403b3fa3b 19-Dec-2014 Zoltan Szatmary-Ban <szatmz@google.com> Eliminate duplicated code in Settings for category headers

Change-Id: I5bdba2ad4f9e1987f9e818af9d5aa96a9d558f6b
/packages/apps/Settings/src/com/android/settings/Utils.java
dbbd4fca442dc507cd478f26c5dbd5a94085c4e3 29-Dec-2014 Fyodor Kupolov <fkupolov@google.com> Show confirmation when turning on "Phone calls/sms"

Added confirmation dialog, when turning on "Phone calls and sms" setting for
secondary users and guests.

Bug:15761405
Change-Id: I39b2181f0b5460db9a964c6883f053a6c6336622
/packages/apps/Settings/src/com/android/settings/Utils.java
ae6ea36822dca031facb1c502aa9d527ceba658c 18-Dec-2014 Zoltan Szatmary-Ban <szatmz@google.com> Remove frame and shadow from CircleFramedDrawable

Also change the size the circled icon is drawn into to a 40dp by 40dp rect.

Bug: 18198624
Change-Id: I66d919a2f35ede614a90a423d2967a4c3bc18169
/packages/apps/Settings/src/com/android/settings/Utils.java
dbd03821307c77333fc67e043b808ff936f24f24 04-Dec-2014 PauloftheWest <paulofthewest@google.com> SIM cards in Setting will only show on Multi-SIM devices

Bug: 16808006
Change-Id: Iecba1a1dabecf20ac8fa8c137f4eef4555ddceaf
/packages/apps/Settings/src/com/android/settings/Utils.java
62464b819e185ce4a1642442fcf4cc18a4932a78 11-Aug-2014 Alexandra Gherghina <alexgherghina@google.com> Modify account settings for better locale resolution

Bug: 16282173
Change-Id: I2ab861464cdbbb1c1b0a5a7231f960d8ed9e90c6
/packages/apps/Settings/src/com/android/settings/Utils.java
0183fb5394f105d544472a52b2b4ba628e01da92 22-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
/packages/apps/Settings/src/com/android/settings/Utils.java
45f86236e4d771f9d6c464f1e54be7fb813f4ceb 20-Nov-2014 Amith Yamasani <yamasani@google.com> Watch out for deleted user when exiting async task

Fixes a problem where the async task can take a while to execute
and in the meantime the user can be removed. On exiting the async
task and updating the UI, make sure the user hasn't been deleted.

Bug: 18411181
Change-Id: I1831f3e53084c49e27557cb7aacec78c753a611b
/packages/apps/Settings/src/com/android/settings/Utils.java
ca7566125e00ed267aba831bd1d6d1ad78d90c17 08-Nov-2014 Wink Saville <wink@google.com> Update SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d
/packages/apps/Settings/src/com/android/settings/Utils.java
0a0dacaf17422c99dec9c244a8b38e16836f50c1 07-Nov-2014 PauloftheWest <paulofthewest@google.com> Migrated search for SubInfoRecord to Utils.

Bug: 18293625
Bug: 18293168
Bug: 18291246
Change-Id: Iad01a01d9b60ca010943447b00c1394471e93d5a
/packages/apps/Settings/src/com/android/settings/Utils.java
0f5440f6e26581f51d67fe3cf32af9dd840e5519 30-Oct-2014 Alexandra Gherghina <alexgherghina@google.com> Apply predefined icon and label to managed profiles

Bug: 18132630
Change-Id: Ie6cfee420847d6992accb0bc0ca3f5535260bc55
/packages/apps/Settings/src/com/android/settings/Utils.java
0ba89bd54c4b44b3803342da10b0c08b0bf76ad4 10-Oct-2014 Alan Viverette <alanv@google.com> Update Settings to use themed Context.getDrawable()

Explicit null theme is passed when using Resources.getDrawable() and
no theme is available, e.g. when using getResourcesForApplication().
This fixes an issue with ic_text_dot theming and helps avoid similar
issues in the future.

BUG: 17648301
Change-Id: I3e97c3490b6f2a55744f567b21284f2935ae9af7
/packages/apps/Settings/src/com/android/settings/Utils.java
50c377f09ffba10d7ff4787b7641aee4975c6f98 04-Oct-2014 Elliott Hughes <enh@google.com> Merge "Fix percentage formatting throughout Settings." into lmp-mr1-dev
83f013cfd49a52293d2bb6b00029eb285b9157d6 03-Oct-2014 Elliott Hughes <enh@google.com> Fix percentage formatting throughout Settings.

Bug: 15476051
Change-Id: Ic64e7c36d0e2732d3e0e79fec2b79de42decf77d
/packages/apps/Settings/src/com/android/settings/Utils.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
/packages/apps/Settings/src/com/android/settings/Utils.java
dbd052ed5ee71b2fc552e0a2954f8c283acc6f70 03-Oct-2014 Wink Saville <wink@google.com> Enable Sim Settings

Changes from Paul and MTK will be coming soon but this
allow us to do some initial testing.

Change-Id: Ic52bc3656bc7066c8bbb7435eaf14e9b8e66a257
/packages/apps/Settings/src/com/android/settings/Utils.java
d50c7a887873cf4860498de37bddbfce0816ecf4 22-Sep-2014 Zoltan Szatmary-Ban <szatmz@google.com> Start PowerUsageDetails fragment in the correct activity

Make sure the stack does not get corrupted by running a fragment as a
managed profile in an activity that runs as primary profile.

Bug:17523189

Change-Id: I7a066a411c7995ffe44b73c6dc27b24eec85b5b3
/packages/apps/Settings/src/com/android/settings/Utils.java
7a2ccf201e839e8755b2184402072113498eef1f 18-Sep-2014 Zoltan Szatmary-Ban <szatmz@google.com> Show Power usage details for the correct user

Settings > Battery > Details has to observe managed profiles and start the
Power Usage Detail fragment for the correct profile.

Bug: 17523189

Change-Id: I7a47b972a8a0492b4a411197cd2c8c65f24c2e7e
/packages/apps/Settings/src/com/android/settings/Utils.java
bc6e78f9da195af4c3a936bff22773ce867af0aa 03-Sep-2014 Alexandra Gherghina <alexgherghina@google.com> Switch to using system-wide default user icons

User icons were either User Settings specific, or missing. This makes it
consistent with the ones in the new helper class.

Bug: 17311038
Change-Id: I20cc1deba989cf7a397c5a8dba41bd91bd62472b
/packages/apps/Settings/src/com/android/settings/Utils.java
5c0d0729b1701428d46ee7abb31f2a83d8da38ab 09-Sep-2014 Elliott Hughes <enh@google.com> Merge "Start cleaning up percentage formatting in Settings." into lmp-dev
9998f473ca9667f398e9f390f59edc0a1c44dd13 08-Sep-2014 PauloftheWest <paulofthewest@google.com> Disabled SIM Cards in Settings.

+ Multi-SIM has been punted out from the L release. This change disables
the SIM Cards UI while keeping the code base.

Bug: 16808006
Change-Id: I2bd7ad430a6309f3f2241cd26ec86268aa31b699
/packages/apps/Settings/src/com/android/settings/Utils.java
7253df35a09d8d61ececedbb66179171802e42a7 03-Sep-2014 Elliott Hughes <enh@google.com> Start cleaning up percentage formatting in Settings.

This fixes some of the percentage formatting issues, but there are
still about ten strings with hard-coded %%s in them.

Bug: 15476051
Change-Id: I668b6b16e598425f6006f6de0005c980f613f5b2
/packages/apps/Settings/src/com/android/settings/Utils.java
b58b5127040b3c843fe42544a89a1085cf7e74f6 02-Sep-2014 Dan Sandler <dsandler@android.com> Fix links to notification settings activities.

Additionally, we now show the user a list of "app-like"
things (packages with launchable activities) instead of only
non-system things. This way you can make (some) changes to
system package notifications while not having to page
through reams of random non-app packages.

Bug: 17277023
Change-Id: I920d6b941070efb75a816e6ad38b798b09a83d08
/packages/apps/Settings/src/com/android/settings/Utils.java
4c96267acd8bb37fd537e9d1eeaaa22acb0752d5 22-Aug-2014 Alexandra Gherghina <alexgherghina@google.com> Update strings for removing work profile

Bug: 17139301
Change-Id: I524946ab7856b10ed68a2e90c7f488d20731b169
/packages/apps/Settings/src/com/android/settings/Utils.java
09076e5f3c90dbc1a3bdf6f000e0c99dd2bb45b4 08-Aug-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #16896118 SIM cards should ONLY appear in search results for devices with 2+ SIM slots" into lmp-dev
22a2a49b445b8721c8194eedf3608ea81c62ccef 08-Aug-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16896118 SIM cards should ONLY appear in search results for devices with 2+ SIM slots

- add the proper SearchIndexProvider to SimSettings
- allow indexing only an only if showSimCardTile() is true
- add Utils.showSimCardTile()

Change-Id: I5df2284d32f91fa454e1edebf1139d00593138a0
/packages/apps/Settings/src/com/android/settings/Utils.java
57fd5fd84be2497845f6c03905500d2a36668b6c 07-Aug-2014 Amith Yamasani <yamasani@google.com> Fix removal of optional settings tiles

Bug: 16654819

Fix the way the tiles get removed so the index is not out of sync
and there's no double deletion of entries.

Change-Id: I18da6b633884f51418c11afb0e177b49ca085fd0
/packages/apps/Settings/src/com/android/settings/Utils.java
80e1f1bfdb814a08fb8b07b2e279285d495042e9 31-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Extract common functionality for profile spinner into Utils

Bug: 16645615
Change-Id: Ic8928fff8294cd99eeb86b69b44b8e4128cadf92
/packages/apps/Settings/src/com/android/settings/Utils.java
fe47a8dc89fe0393dae16b1c2152c901feab4dcb 18-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Toggle between primary and managed profile in Print Settings

This adds a spinner to the print settings screen which can be used to toggle
between the Settings app in the primary and managed profile so that the user
can edit settings belonging to both profiles.

Bug: 16369104
Change-Id: I2556a331d09379c2a501bc6b192ab1631b5215f5
/packages/apps/Settings/src/com/android/settings/Utils.java
54bac5f2c6e58fca8d1aa5cb4f5ed053a3559c02 29-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix App Info padding" into lmp-dev
0f4a779214adb8a820d56344d06fba31332a6b5d 29-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix App Info padding

- need to add to the previous defined on instead of replacing it
- verified also that Notification Station padding is ok too

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I06394bec2a5baa548f34f3fe7ec19d60172a98e8
/packages/apps/Settings/src/com/android/settings/Utils.java
95b86a5488a27d95bda8b6db1f608d6ce55dae8a 24-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Refactoring useless UserUtils class

Bug: 16542609
Change-Id: Iadb83c5e378cd342ea89d6e224ddc45e6f940c8b
/packages/apps/Settings/src/com/android/settings/Utils.java
6d26c1738004cd8df1efe2b4d9d98daac3a5555a 21-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix AppDetails padding on tablet UI" into lmp-dev
38ba9a2d4350fc7d063ec21c994183258bf7a443 19-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix AppDetails padding on tablet UI

- force custom padding

See bug #: 13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I5c26402c10a4e717cda22b320ab0790f598591c2
/packages/apps/Settings/src/com/android/settings/Utils.java
97a18c81119566164de3f548fb25f296f114d81f 19-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix Utils.prepareCustomPreferencesList()

- and thus fix padding for all Fragments using it

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I862c96d626ed906cbdafcfb40fa0e07bb804160f
/packages/apps/Settings/src/com/android/settings/Utils.java
6f404853087796d46f7a7ef1ad986ec351cc720c 19-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix Utils.prepareCustomPreferencesList()" into lmp-dev
7d748c0267b7d499309464ebae168be01e136b4c 27-Jun-2014 Alexandra Gherghina <alexgherghina@google.com> Handle choosing and adding accounts for a managed profile

The user id can now be passed through the app as a fragment argument.

Bug: 15466880
Change-Id: I0e2be20551b4ec8c9226640ac74ea74115156ccd
/packages/apps/Settings/src/com/android/settings/Utils.java
ce249fe38ddf8da562a0e92c58a7bb216a23c0bb 08-Jul-2014 Andres Morales <anmorales@google.com> Enable OEM unlock checkbox in Developer Settings

For Volantis+ devices, we will give users
the ability to enable OEM unlock through
Developer Settings. To do so, we must write
the value to the last byte of a special partition
that does not get erased even after factory reset.

This feature will only be available on devices
with the persistent data partition, thus the checkbox
is only visible for devices that meet this requirement.

This depends on
https://googleplex-android-review.git.corp.google.com/#/c/495350/

DD: go/factory-reset

Bug: 14288780
Change-Id: I8f80b950bc101a1067912faf221391bf0dd826b7
/packages/apps/Settings/src/com/android/settings/Utils.java
51c6dac50ea8874181036f54c3a7e7aa8eb800bd 01-Jul-2014 Amith Yamasani <yamasani@google.com> Multiuser settings revamp - followup to address comments

Bug: 15761405
Change-Id: I9c03432a2f2651a931486ce65fb3b5af37608be0
/packages/apps/Settings/src/com/android/settings/Utils.java
1eb3f316bd20c5d3e816876229c05bcf9f0c712c 10-Jun-2014 Alexandra Gherghina <alexgherghina@google.com> Handle forwarded intents from a managed user in AccountSyncSettings

Bug: 15466880
Change-Id: I4041b69f237033dbe5b78c8eb52f5e6ebb6ff7f7
/packages/apps/Settings/src/com/android/settings/Utils.java
3939cd70b1605eff9ac6cfa213b73a49283e134a 04-Jun-2014 Alexandra Gherghina <alexgherghina@google.com> Add work account settings.

Bug: 15467756
Change-Id: I13b5a0bb3967611d0d24b575bfc15d9bfaad4cfa
/packages/apps/Settings/src/com/android/settings/Utils.java
68f005fbd48f18cdab0168ba92b8fd40776edc1e 19-Jun-2014 Dianne Hackborn <hackbod@google.com> Modify proc stats to show new memory use computation.

Switch the proc status UI's memory use bar to be based on the
new total memory use computation, instead of showing that weird
"time spent in memory states" thing.

Also now have it link to a detail page that shows details of time
spent in memory states and RAM used by various things.

Change-Id: I6817a499db518adb8e72466a5e9cfe18a81be5d5
/packages/apps/Settings/src/com/android/settings/Utils.java
c9711beb3c6313c1ea0c39a5ab7d59af56ee78c7 17-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Add Search / Indexing to Data Usage / Mobile Hotspots

- implement a BaseSearchIndexProvider and pass all the needed
strings to index (including the Wi-Fi SSIDs)

Change-Id: Ic7a640c76cd7c2af77585e87e216b283af61a29e
/packages/apps/Settings/src/com/android/settings/Utils.java
0d643fd182d37d2e8ee5d547b80d80423a5ed98d 17-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix Up and Search affordances

- UP is also shown for a SubSettings of a Shortcut
- Search is never shown for a Shortcut (SubSettings or not)

Change-Id: I5b87cf773ea0266a0f5dd090613bbbba905be330
/packages/apps/Settings/src/com/android/settings/Utils.java
a9e77993d1f82a230ff381134d4a22eff4a907cd 09-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #14499324 Label of the "Language & input " page doesn't get updated
...as per the newly selected language

- use also title resource id when possible

Change-Id: Ibeb95d605cd79910c18f4529b749645c9ed0fc17
/packages/apps/Settings/src/com/android/settings/Utils.java
5a9ace3a7abe5de8d6f3307dad830ac9b1d5ae04 16-May-2014 Dianne Hackborn <hackbod@google.com> Update battery use chart to better match new mocks.

Change-Id: I714cb30ccd9b8144785aee16a23ae2b723df4347
/packages/apps/Settings/src/com/android/settings/Utils.java
93b77b7bf6d39f7549a4bd98c03aadad10b1a9ce 17-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Revert "Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device"

This reverts commit 18d271c73b17c9eb5570689247415a1d70583894.

Change-Id: I04f89dbb13ad1db92276c91a7ee63d3a5dd33e62
/packages/apps/Settings/src/com/android/settings/Utils.java
18d271c73b17c9eb5570689247415a1d70583894 16-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device

- make WifiPickerActivity a SettingsActivity (as it was long overdue)
- move code from the overide of PreferenceActivity.startWithFragment() to
SettingsActivity.startPreferencePanel(...)

Change-Id: Ibc42056fdc84e01004e15c3779073e5451fd02a1
/packages/apps/Settings/src/com/android/settings/Utils.java
15826d4ea1428b3d1edb86866ca57a93c2252bda 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS

- the EXTRA_NO_HEADERS flag as no more meaning as we are showing
the Tiles (previously named "Headers") only in the Dashboard
(which is the main Settings screen)

Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
/packages/apps/Settings/src/com/android/settings/Utils.java
e9326d276135b657738d851e0a56df447f09567a 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning: remove all remaining references to the old Header class

- goodbye Header(s) !

Change-Id: Ied27f1f01dbed9c51cc74d28800d9ca7cab47d5a
/packages/apps/Settings/src/com/android/settings/Utils.java
525f2bdfd2b5293ba4338a9664da9a21d468ba0a 29-Apr-2014 Dianne Hackborn <hackbod@google.com> Update battery charge/drain label.

Match UX spec.

Change-Id: If1408458d488ac2ae3a63449e44ff18fc56e08d5
/packages/apps/Settings/src/com/android/settings/Utils.java
769630c8956fa844545d964166da90cc802fabac 24-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Settings new dashboard - part 2

Introduce the new Dashboard (a grid like presentation of
Settings top categories) per UX specification.

- the Dashboard is composed of "categories" and in each of them
you have "tiles"
- implement a new layout for showing top categories
(DashboardContainerView). This layout basically acts like a
grid
- depending on the device configuration make the grid with 1
column in portrait / 2 colums in landscape (phones) OR 2 columns
in portrait and 3 in landscape (tablets)
- take care of Accounts adding and removing (as it changes the
number of tiles to show)

Also remove all the old code related to Headers

Change-Id: Ie29944132c1b4c3f7b073d5a7d4453b8f5ec19a7
/packages/apps/Settings/src/com/android/settings/Utils.java
63bbb8e4fef5d0d0a5fa9c7656daa7ea160fd51b 24-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Settings new dashboard - part 1

- make the Settings dashboard definition be hierarchical (non flat) and use
categories and tiles
- code cleaning: remove mHeaderIndexMap

Change-Id: I16581a736ac5c8388a182d83159161fe3bb04f4b
/packages/apps/Settings/src/com/android/settings/Utils.java
d25314d3305ed1a07b53991a978cd71219ef2a10 22-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Settings - update for new UI (no more Drawer)

- follow the UX spec by no more using a Drawer
- the Dashboard is now a Fragment that contains the list of Headers
- the search results are also put into a Fragment that is replacing
the initial one (Dashboard or other) when expanding the SearchView
- use a SearchView for query input
- when tapping on a Header or a Search Result, re-launch Settings as
an Activity so that we are benefiting from the Activity stack for
UP affordance and BACK button
- manage UP affordance to show it only when needed
- move some Actions to the Menu in the ActionBar for allowing space
to the Search action and removing some clutter
- fix an issue with the Index and WiFiEnabler and their cached Context
that was not updated when there was a Configuration change
- simplify the SettingsActivity code by extracting some inner classes

Change-Id: I50b5f77bb44a7fade1886114dbbc820609a5e63d
/packages/apps/Settings/src/com/android/settings/Utils.java
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
/packages/apps/Settings/src/com/android/settings/Utils.java
ad38a88b95f21e1f6faa24d6a2e1b2417cbe75b7 14-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> More code cleaning

- remove some dead code
- better variable naming
- add debug log for exception
- clean some unused imports

Change-Id: Iec4239a7e75f29d860f286ab089e748e8a672281
/packages/apps/Settings/src/com/android/settings/Utils.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
/packages/apps/Settings/src/com/android/settings/Utils.java
b75f10305dee24b1444735623f7c45b1a782606a 07-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Merge "Display all link IP addresses, on different lines"
56f51a8927f53bee81145fe29e63af8a87e6fd1b 05-Aug-2013 Amith Yamasani <yamasani@google.com> Single pane for 10" Settings

Change-Id: I960e4be3cfb19ffec4100f8766742d6fb17dda4a
/packages/apps/Settings/src/com/android/settings/Utils.java
769f069a4701bd91a60219ca3ecd52d6990ca1ac 01-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Display all link IP addresses, on different lines

Currently, the "IP address" field in the status page of the
settings app displays only the IP addesses on the base link.
Make it display the stacked link IP addresses as well.

Also, separate IP addresses via newlines instead of commas.
For example, display:

2a00:f40:e000:11c:cf93:ee9:5ad3:6686
192.0.0.4

instead of:

2a00:f40:e000:11c:cf93:ee9:5ad3:6686, 192.0.0.4

Change-Id: Ie78da142fea87735139adcefcfed7154b4f7fefb
/packages/apps/Settings/src/com/android/settings/Utils.java
a3fe77b2e4e8e6932d2580d361520d93058ea560 04-Jun-2013 Jaewan Kim <jaewan@google.com> Remove Battery settings if battery is not present

Bug: 8051556
Change-Id: I044b24e26dc3d6351c19168a2fcd085a1e761796
/packages/apps/Settings/src/com/android/settings/Utils.java
b27223f139248f92637997378d7a38d7d24f6b02 16-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix Switches padding for Settings app

- use setPaddingRelative() instead of setPadding()

Change-Id: Ifd14193a5f60d303035b394616dc65a70e1ef5f9
/packages/apps/Settings/src/com/android/settings/Utils.java
004970da50ddbce80321b50536625e149ff1f825 12-Dec-2012 Amith Yamasani <yamasani@google.com> am 0df6a277: Merge "Grey out settings icon when it is in disabled state"

* commit '0df6a2771d92e355e122195d3dceaf9a2b264ee5':
Grey out settings icon when it is in disabled state
97d07fa3aedde44368818551dc789eaff7bfb047 30-Nov-2012 Jeff Sharkey <jsharkey@android.com> Push scrollbars to screen edges.

Push scrollbar to screen edges on custom ListView and ScrollViews to
match Preferences framework behavior.

Bug: 7633165
Change-Id: Ideecd0e243c7de7bf977caef2b1585e707a00ca4
/packages/apps/Settings/src/com/android/settings/Utils.java
79d42bb6220820193b0ce05998726750a4db3b24 29-Nov-2012 Dianne Hackborn <hackbod@google.com> Be quiet!

Change-Id: Ifcce5bf4b2fca35fe50a2684983dc726534c3d0c
/packages/apps/Settings/src/com/android/settings/Utils.java
96577681a298b44be2e1133b10bc637623be3b87 02-Oct-2012 Shuhrat Dehkanov <uzbmaster@gmail.com> Grey out settings icon when it is in disabled state

If engine is not active, its settings icon is disabled in
Settings > Language & input > Text-to-speech output screen.
Currently, settings icons for all TTS engines are shown at
the same opacity. This fix dims settings icons of not-selected
engines.
Make sure that more than one TTS engine are installed on the
target, for e.g., Google Text-to-speech Engine and Classic
Text To Speech Engine (SVOX Classic TTS).

Additionally, since setAlpha() is used in multiple places within
Settings package, moved DISABLED_ALPHA declaration to Utils.java
in order to have single point of reference.

Change-Id: Ifa7de79814a2f4a4aa021cd8621cbfab41655680
Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
/packages/apps/Settings/src/com/android/settings/Utils.java
8d40fac706d206355f9a4be58744fb1a8cc3417d 24-Oct-2012 Amith Yamasani <yamasani@google.com> Use given name instead of full name for the initial population of User name.

Bug: 7406217

Change-Id: I5006039ef146369f569445d0fcbaf82fd163343e
/packages/apps/Settings/src/com/android/settings/Utils.java
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
/packages/apps/Settings/src/com/android/settings/Utils.java
f34a85d5d54738b4b6d091c36f828788ff67ede1 18-Sep-2012 Amith Yamasani <yamasani@google.com> Use Bitmap instead of ParcelFileDescriptor to get the user's icon.

Change-Id: I1dd7261b47ba98a2a0834dbfb8c22de369e6cc58
/packages/apps/Settings/src/com/android/settings/Utils.java
e940dac47a1d978211eea973fe8576edc4626d48 17-Sep-2012 Amith Yamasani <yamasani@google.com> Use UserManager.getUserIcon() to get the user's avatar.

Change-Id: I035a5e2a518eb827a2e44910471ed04923921aa3
/packages/apps/Settings/src/com/android/settings/Utils.java
ae47ef43fa9f7f408ec08b92d4d334b159a68e82 17-Sep-2012 Amith Yamasani <yamasani@google.com> More user management ui work

Show setup dialog after adding user.
Write user profile to nickname on setup.
Remove self.
Correct dialog text for user creation.

Bug: 7104261
Bug: 7174751
Bug: 7174685

Change-Id: I0ecd688f3edaef61332f974012454ceb87762e9f
/packages/apps/Settings/src/com/android/settings/Utils.java
0bd54a65d62d726dbdccab21bea96bf5eac83c0a 15-Aug-2012 Brian Muramatsu <btmura@google.com> display wireless charging status

- show "Charging (wireless)" when using wireless charger
- change "Discharging" to "Not charging"

bug: 6879638

Change-Id: I20e78f2bde7a526667510b82a030f5952d9dda75
/packages/apps/Settings/src/com/android/settings/Utils.java
929f04e28e7910eae04871e8ea3c7126b100b393 25-May-2012 Amith Yamasani <yamasani@google.com> am 8ad7abbc: Merge "Corrected return value for updatePreferenceToSpecificActivityOrRemove method"

* commit '8ad7abbcf64076b4df8ff3e724815c2e7940be8e':
Corrected return value for updatePreferenceToSpecificActivityOrRemove method
f0b05de3e06ad319a32fc1784d1b5cef48521f81 09-May-2012 Amith Yamasani <yamasani@google.com> Apps tabs align to title on 2-pane settings.

Pad the lists in Apps screen.
Pad the color bar to align with the list.

Bug: 6449489

Change-Id: I28c39e2aae04a1fe36c6b7dc447ae19da575edaf
/packages/apps/Settings/src/com/android/settings/Utils.java
7dc567af052b2c1d701700f250657766802b536f 22-Apr-2012 Shuhrat Dehkanov <uzbmaster@gmail.com> Corrected return value for updatePreferenceToSpecificActivityOrRemove method

Returned value should be false if preference is removed or was already deleted/missing.

Change-Id: I2a48bd8e0f5a82b76b60b2d11fac2305f0e27eed
Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
/packages/apps/Settings/src/com/android/settings/Utils.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
/packages/apps/Settings/src/com/android/settings/Utils.java
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
/packages/apps/Settings/src/com/android/settings/Utils.java
a83a24f48a8286ee3d67acc5fdcfb723acc56ada 16-Sep-2011 Jeff Sharkey <jsharkey@android.com> Surface tethering stats in data usage.

Bug: 5244846
Change-Id: Ib4ac03ab634278714576a66ef8d6fdbc6d15c82a
/packages/apps/Settings/src/com/android/settings/Utils.java
5d70679c02a57416eac46581d7242e2382e4b973 09-Sep-2011 Jeff Sharkey <jsharkey@android.com> Larger touch targets, snap to persisted value.

Extend ListView content to screen edges, and use InsetBoundsDrawable
to draw separator and divider with expected padding. Sweep touch
targets are now much larger.

Snap sweep to persisted value, and fix NFE when parsing label value.

Bug: 5274249
Bug: 5262865
Bug: 5242857
Change-Id: Ifa0f3e622767d5b4dc85a73d6340207e6038a429
/packages/apps/Settings/src/com/android/settings/Utils.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
/packages/apps/Settings/src/com/android/settings/Utils.java
b654cbb896a6e6db9ecec164476b0ac4a3e72774 18-Aug-2011 Jeff Sharkey <jsharkey@android.com> More TabWidget and padding tweaks to match spec.

Also fix NPE in UserDictionarySettings.

Bug: 5184822
Change-Id: I082981c3bcf9b1e6575dcf9f42495a17f0ec8672
/packages/apps/Settings/src/com/android/settings/Utils.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
/packages/apps/Settings/src/com/android/settings/Utils.java
71ad1f4e3e819a40a830a148a2d1bd7b10fed09d 12-May-2011 Jean Chalard <jchalard@google.com> Change the interface for user dictionary multiple locales.

The user dictionary interface now works the following way:
* Locale gathering
- The current locale is always considered as present, even if
there are no words for it in the user dictionary.
- Any locale for which at least one word is registered is
considered present.
- A null locale is considered a valid locale meaning "all
languages".
- If no words are present at all, since the current locale is
always considered present, the system will consider there is
exactly one locale present - and allow editing this user
dictionary.

* Options display
- If only one locale is present, the interface is the same as
for Honeycomb: display a "User dictionary" PreferenceScreen
that brings up the dictionary editor interface.
- If there are several locales present, then the user
dictionary option will jump to a screen that will display a
list of available locales.

* Word insertion
- Inserting a word will always use the locale of the currently
displayed dictionary. If it is the "all languages" null
pseudo-locale, that will still hold and the word will be added
to this pseudo-locale.

It is worthy to note that the "All languages" locale is only
accessible if for some reason there are already words with a
null locale in the database before this is installed. For
example, if an application has inserted some words that way,
or if the user inserted words with a previous version of the
settings application.
On a freshly flashed device, barring the use of third-party
application that would add such words, it is not possible to
access the "all languages" locale any more because there is
no interface to do it, though it works if such words are
inside.

Bug: 3479738
Change-Id: Iba323e5aeb3f4f575896903a4e8bef6ffb3ea306
/packages/apps/Settings/src/com/android/settings/Utils.java
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
/packages/apps/Settings/src/com/android/settings/Utils.java
0f85c48d6c77e811f4d949503f0aa3efd908834d 24-Feb-2011 Amith Yamasani <yamasani@google.com> Remove / re-word some settings for WiFi-only devices.

Bug: 3468248

1. Remove Wireless->Mobile networks
2. Remove Wireless->Tethering and WiFi hotspot
3. Remove Wireless->Wi-Fi Settings->Wi-Fi disconnect policy
4. Re-word Network location summary text to not include "mobile network"

Change-Id: I84a551a1b63591974731029b0d4b90a85e43a716
/packages/apps/Settings/src/com/android/settings/Utils.java
02cf71a5916d1b0155e8fff3f62987cdc5c2b7c3 22-Sep-2010 Amith Yamasani <yamasani@google.com> Use PreferenceActivity and FragmentBreadCrumbs as they offer the same capabilities now.

Also fix: 2997438 and a similar bug in Tether Settings
Show + menu item for User Dictionary
/packages/apps/Settings/src/com/android/settings/Utils.java
a2633d0232adefd2767484add759a46906e00bcc 16-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Move ManageAccountsSettings into Settings.

- Add activity-alias for the Activity.
- Copy the Activity from AccountsAndSyncSettings.
- Fragmentize ManageAccountsSettings.
- Remove dependency toward AccountPreferenceBase, which is
used in AccountsAndSyncSettings widely.
- Add missing implementation derived from AccountPrefernceBase.
- Copy dependent drawables.
- Copy dependent xmls
- Copy AccountPrefernce.java.
- Copy strings, adding CHAR LIMIT.
- Remove the logic which remove the preference when its destination
Activity is missing. We already have the destination as
Fragment, and it never disappear.

Change-Id: Id41c63d7064aebeaae31bcd84bf4fd20a5636dfe
/packages/apps/Settings/src/com/android/settings/Utils.java
60133dd03657354e06fa3aa7e6041862f8ce20a8 11-Sep-2010 Amith Yamasani <yamasani@google.com> Conditionally remove settings that aren't required on the tablet.

Bug: 2985267

Changes not done : SD card related stuff, as we need some way still
to figure out if there is a real SD card in the device.

Change-Id: I21c41f18ebe6c050981918481a7f6d69f04b65d0
/packages/apps/Settings/src/com/android/settings/Utils.java
b2dd90383bae9f3ca0a99b59d3f5992e7fd5ad48 08-Apr-2010 Anders Hammar1 <anders.hammar1@sonyericsson.com> Settings: Add a hook for operator or vendor specific settings.

The Settings application now provides a hook that can be used by an
operator or a vendor specific application to add an activity of choice
in the settings menu.

Change-Id: Id55da9fd4262bbfc6a5abf863799c747b0d75b24
/packages/apps/Settings/src/com/android/settings/Utils.java
a718832e28095219a897c6e95e903c1a3fe57c12 05-Jan-2010 Ying Wang <wangying@google.com> Still use ro.monkey

http://b/issue?id=1681101
So just some refactoring.
/packages/apps/Settings/src/com/android/settings/Utils.java
afc4ab2ffbb8327ddce9907961295a32cbf49d0f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/Utils.java
4e14e5ccbf1ef27220419849133d482a546d5c04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/Utils.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Settings/src/com/android/settings/Utils.java