OSDN Git Service

android-x86/packages-apps-Settings.git
10 years agoMerge "Fix bug #15460001 "Cell broadcasts" setting search suggested in wifi only...
Fabrice Di Meglio [Fri, 6 Jun 2014 23:38:11 +0000 (23:38 +0000)]
Merge "Fix bug #15460001 "Cell broadcasts" setting search suggested in wifi only device though setting is not present" into lmp-preview-dev

10 years agoFix bug #15460001 "Cell broadcasts" setting search suggested in wifi only device...
Fabrice Di Meglio [Fri, 6 Jun 2014 23:31:45 +0000 (16:31 -0700)]
Fix bug #15460001 "Cell broadcasts" setting search suggested in wifi only device though setting is not present

- implement a BaseSearchIndexProvider for WirelessSettings
- fix Context passed to the Index: now use an ApplicationContext
- also use the correct Context when dealing with Settings SearchIndexProvider
- also makes impossible a rogue BaseSearchIndexProvider to crash Settings
if not well behaving
- last, fix icon used for "NFC & more" search results

Change-Id: I8b5cc999fa57a9e1977ee57394801d54cf3dbabb

10 years agoMerge "Show user management UI if a managed profile exists" into lmp-preview-dev
Amith Yamasani [Fri, 6 Jun 2014 22:03:36 +0000 (22:03 +0000)]
Merge "Show user management UI if a managed profile exists" into lmp-preview-dev

10 years agoDO NOT MERGE Material theme
Alan Viverette [Fri, 6 Jun 2014 21:33:10 +0000 (14:33 -0700)]
DO NOT MERGE Material theme

BUG; 15467097
Change-Id: Ifeda3f6cc1554c4d31357d5010df6958113df964

10 years agoShow user management UI if a managed profile exists
Amith Yamasani [Fri, 6 Jun 2014 21:31:37 +0000 (14:31 -0700)]
Show user management UI if a managed profile exists

Show UI even if flags to show multiuser UI are off, if there's a
second user on the device. This way there's an affordance to remove
the user.

Don't show the "Add user" item though.

Bug: 15447068
Change-Id: I40273005d6d8d66aed486328615acdab71d51fa4

10 years agoTune Dashboard layouts following UX spec - part 3
Fabrice Di Meglio [Fri, 6 Jun 2014 19:21:45 +0000 (12:21 -0700)]
Tune Dashboard layouts following UX spec - part 3

- remove this ugly 12dp at the bottom of the Dashboard and
use 1dp instead

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I07695b2084a389552fb8a0e89663304c0c29cf58

10 years agoFix bug #15469483 Search menu should not be present when Settings is launched as...
Fabrice Di Meglio [Fri, 6 Jun 2014 19:13:29 +0000 (12:13 -0700)]
Fix bug #15469483 Search menu should not be present when Settings is launched as a Shortcut

- create the Search menu only for non shortcut launch

Change-Id: I8f83fb6c199509f2b2215a20b19f92e3d736b733

10 years agoDo not show the Preference summary in Search results
Fabrice Di Meglio [Fri, 6 Jun 2014 02:15:02 +0000 (19:15 -0700)]
Do not show the Preference summary in Search results

- as the summary was sometimes showing "Unknown" or even not the
real Preference value (we dont have right now the capability to
know the current value of a Preference), so it is better to be
safe than sorry.

Change-Id: I009c31fc41ad35a630f4b34aa0ef998932f65263

10 years agoTune Search layouts following UX spec
Fabrice Di Meglio [Fri, 6 Jun 2014 01:23:35 +0000 (18:23 -0700)]
Tune Search layouts following UX spec

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: Ia7839459b3d67529db55e70c0ecda3da9b37d840

10 years agoMerge "Tune Dashboard layouts following UX spec - part 2" into lmp-preview-dev
Fabrice Di Meglio [Fri, 6 Jun 2014 00:39:46 +0000 (00:39 +0000)]
Merge "Tune Dashboard layouts following UX spec - part 2" into lmp-preview-dev

10 years agoTune Dashboard layouts following UX spec - part 2
Fabrice Di Meglio [Fri, 6 Jun 2014 00:36:45 +0000 (17:36 -0700)]
Tune Dashboard layouts following UX spec - part 2

- set a fixed size for the Dashboard icons (and thus fix the
Account type icons size isssue)
- tune layout for N7 tablet

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I0306f1ec2309e859e044e8490cef468def8d38fb

10 years agoMerge "Fix account header colors" into lmp-preview-dev
Alan Viverette [Thu, 5 Jun 2014 22:18:44 +0000 (22:18 +0000)]
Merge "Fix account header colors" into lmp-preview-dev

10 years agoFix account header colors
Alan Viverette [Thu, 5 Jun 2014 21:51:36 +0000 (14:51 -0700)]
Fix account header colors

Temporary fix until we have a public Theme.Quantum.Settings in the
framework that we can attach to the inflation context.

Change-Id: Ifa89e31ad7928a6794a9cdd0fd96aaad3cb0bb64

10 years agoAdd defaults for caption colors and edge type, fix preview size
Alan Viverette [Thu, 5 Jun 2014 20:51:14 +0000 (13:51 -0700)]
Add defaults for caption colors and edge type, fix preview size

BUG: 15116066
BUG: 8151470
Change-Id: Ieca00f0da209138bdfa691715720263ef5406773

10 years agoMerge "Tune Dashboard layouts following UX spec" into lmp-preview-dev
Fabrice Di Meglio [Thu, 5 Jun 2014 20:15:29 +0000 (20:15 +0000)]
Merge "Tune Dashboard layouts following UX spec" into lmp-preview-dev

10 years agoTune Dashboard layouts following UX spec
Fabrice Di Meglio [Thu, 5 Jun 2014 19:44:35 +0000 (12:44 -0700)]
Tune Dashboard layouts following UX spec

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I2554fa73ca293e10490982df58a42d293b48d311

10 years agoSettings: Notification string tweaks.
John Spurlock [Thu, 5 Jun 2014 16:04:02 +0000 (12:04 -0400)]
Settings: Notification string tweaks.

- Sounds & Notifications -> Sound & Notifications
- Notification station title -> Notification log
- Use dark theme for station to ensure icon is visible, boost
  all text to theme's primary color.

Bug:15435289
Change-Id: I8a3b999a42ad4cb09e190bf887ae854f8a288d40

10 years agoMerge "Updated the colors of the lock pattern" into lmp-preview-dev
Selim Cinek [Thu, 5 Jun 2014 05:23:28 +0000 (05:23 +0000)]
Merge "Updated the colors of the lock pattern" into lmp-preview-dev

10 years agoUpdated the colors of the lock pattern
Selim Cinek [Thu, 5 Jun 2014 05:19:21 +0000 (07:19 +0200)]
Updated the colors of the lock pattern

Bug: 13735707
Change-Id: I6ca5f66e2fd5daa61e89b65ac2ccf6a3fddd5f7a

10 years agoMerge "Fix bug #15433763 "Sounds & Notifications" appears twice in the shortcut icon...
Fabrice Di Meglio [Thu, 5 Jun 2014 01:43:42 +0000 (01:43 +0000)]
Merge "Fix bug #15433763 "Sounds & Notifications" appears twice in the shortcut icon picker" into lmp-preview-dev

10 years agoFix bug #15433763 "Sounds & Notifications" appears twice in the shortcut icon picker
Fabrice Di Meglio [Thu, 5 Jun 2014 01:41:14 +0000 (18:41 -0700)]
Fix bug #15433763 "Sounds & Notifications" appears twice in the shortcut icon picker

- remove shortcut for the alias created for compatibility

Change-Id: Ic5b6f354143951a1d3688e5eb9b994066f425a2a

10 years agoMerge "Fix bug #15434475 Developer Options do not show immediately after activating...
Fabrice Di Meglio [Thu, 5 Jun 2014 00:42:08 +0000 (00:42 +0000)]
Merge "Fix bug #15434475 Developer Options do not show immediately after activating them" into lmp-preview-dev

10 years agoFix bug #15434475 Developer Options do not show immediately after activating them
Fabrice Di Meglio [Thu, 5 Jun 2014 00:33:25 +0000 (17:33 -0700)]
Fix bug #15434475 Developer Options do not show immediately after activating them

- allow Dashboard categories reloading

Change-Id: I02d9f1e8ed4d8b8b670835a8d717c6c08b49fe05

10 years agoMerge "Ensure trust agents are only provided by platform packages - DO NOT MERGE...
Adrian Roos [Wed, 4 Jun 2014 21:43:46 +0000 (21:43 +0000)]
Merge "Ensure trust agents are only provided by platform packages - DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "ZenSettings: Hide the settings-specific condition picker." into lmp-preview-dev
John Spurlock [Wed, 4 Jun 2014 18:37:30 +0000 (18:37 +0000)]
Merge "ZenSettings: Hide the settings-specific condition picker." into lmp-preview-dev

10 years agoZenSettings: Hide the settings-specific condition picker.
John Spurlock [Wed, 4 Jun 2014 18:35:43 +0000 (14:35 -0400)]
ZenSettings: Hide the settings-specific condition picker.

Bug:15424280
Change-Id: Iacfce340d070bf9873603865d59552709a329de9

10 years agoMerge "Settings: Use standard small text for subtitle." into lmp-preview-dev
John Spurlock [Wed, 4 Jun 2014 16:29:52 +0000 (16:29 +0000)]
Merge "Settings: Use standard small text for subtitle." into lmp-preview-dev

10 years agoSettings: Use standard small text for subtitle.
John Spurlock [Wed, 4 Jun 2014 16:28:21 +0000 (12:28 -0400)]
Settings: Use standard small text for subtitle.

In App notifications.

Bug:15423920
Change-Id: I493189d92b4e1447c4dd40bd5070a36d2e176bb0

10 years agoSettings: Remove quick settings options for daltonizer.
John Spurlock [Wed, 4 Jun 2014 15:12:30 +0000 (11:12 -0400)]
Settings: Remove quick settings options for daltonizer.

Bug:15424806
Change-Id: I91a9cd974d9e370f899e7573d00f6d27fe2e5538

10 years agoEnsure trust agents are only provided by platform packages - DO NOT MERGE
Adrian Roos [Wed, 4 Jun 2014 13:43:24 +0000 (15:43 +0200)]
Ensure trust agents are only provided by platform packages - DO NOT MERGE

Ensures that Settings only shows TrustAgentServices from
platform packages.

Bug: 15287044
Change-Id: I6c7f62e61f9dd63cbcf4d2f8eb75986b0a314a46

10 years agoMerge "Wi-Fi assets delivery for Quantum - part 2" into lmp-preview-dev
Fabrice Di Meglio [Wed, 4 Jun 2014 02:29:21 +0000 (02:29 +0000)]
Merge "Wi-Fi assets delivery for Quantum - part 2" into lmp-preview-dev

10 years agoWi-Fi assets delivery for Quantum - part 2
Fabrice Di Meglio [Wed, 4 Jun 2014 02:25:02 +0000 (19:25 -0700)]
Wi-Fi assets delivery for Quantum - part 2

- add missin xxxhdpi ones

See bug: #15117166 Network Strength Indicator Icon in WiFi Settings for I/O

Change-Id: Ice4d0a298a22a7902c103623c58bbe8032a78454

10 years agoMerge "Wi-Fi assets delivery for Quantum" into lmp-preview-dev
Fabrice Di Meglio [Wed, 4 Jun 2014 01:32:58 +0000 (01:32 +0000)]
Merge "Wi-Fi assets delivery for Quantum" into lmp-preview-dev

10 years agoWi-Fi assets delivery for Quantum
Fabrice Di Meglio [Wed, 4 Jun 2014 01:30:06 +0000 (18:30 -0700)]
Wi-Fi assets delivery for Quantum

See bug: #15117166 Network Strength Indicator Icon in WiFi Settings for I/O

Change-Id: I0c5a4df094523b3a7df44852b1a5dc5318c52504

10 years agoMerge "Fix search icon theme" into lmp-preview-dev
Alan Viverette [Wed, 4 Jun 2014 01:17:36 +0000 (01:17 +0000)]
Merge "Fix search icon theme" into lmp-preview-dev

10 years agoFix search icon theme
Alan Viverette [Wed, 4 Jun 2014 00:36:09 +0000 (17:36 -0700)]
Fix search icon theme

Change-Id: I4140e3d55008f950ab4949713ad0e5d58b847a91

10 years agoFix bug #15410103 Wi-Fi Dialog needs theme updates
Fabrice Di Meglio [Tue, 3 Jun 2014 23:22:01 +0000 (16:22 -0700)]
Fix bug #15410103 Wi-Fi Dialog needs theme updates

- apply the correct Theme to the AlertDialog

Change-Id: I39a33b6a6630b6ba89f60a5a28fd8295687a86d1

10 years agoMerge "Remove colorPrimaryLight, update to use colorAccent for controls" into lmp...
Alan Viverette [Tue, 3 Jun 2014 22:44:11 +0000 (22:44 +0000)]
Merge "Remove colorPrimaryLight, update to use colorAccent for controls" into lmp-preview-dev

10 years agoTune Search Results layout
Fabrice Di Meglio [Tue, 3 Jun 2014 22:24:36 +0000 (15:24 -0700)]
Tune Search Results layout

- make the summary view as GONE when its text is empty

See bug: #12910134 Implement Search into the Settings App

Change-Id: Iafd680706b937137eaa30692e1c57a77cb5d7fc8

10 years agoRemove colorPrimaryLight, update to use colorAccent for controls
Alan Viverette [Tue, 3 Jun 2014 20:39:46 +0000 (13:39 -0700)]
Remove colorPrimaryLight, update to use colorAccent for controls

Change-Id: I827298ef91cfa35ed29171c52da2bb5033ed2f77

10 years agoFix usage of android:style/Theme.Quantum.Light.DialogWhenLarge
Fabrice Di Meglio [Tue, 3 Jun 2014 21:30:40 +0000 (14:30 -0700)]
Fix usage of android:style/Theme.Quantum.Light.DialogWhenLarge

- make some Theme that are DialogWhenLarge but also respectful of
the Settings colors for the ActionBar

See bug: 15408411 Settings > Add account - needs to update theme

Change-Id: Ie96a94d03a2ea06fcbd19638f5d38e22e209fd31

10 years agoMerge "Update Recents Searches and Search Results padding" into lmp-preview-dev
Fabrice Di Meglio [Tue, 3 Jun 2014 20:33:54 +0000 (20:33 +0000)]
Merge "Update Recents Searches and Search Results padding" into lmp-preview-dev

10 years agoUpdate Recents Searches and Search Results padding
Fabrice Di Meglio [Tue, 3 Jun 2014 20:23:09 +0000 (13:23 -0700)]
Update Recents Searches and Search Results padding

- for matching the ones from the main Dashboard too
- udpate also the Titles to match the categories title appearance
from the Dashboard

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I6d4731dbbd049b77e8c103bc21e9d0be5c0234dd

10 years agoFix theme resolution in account preferences
Alan Viverette [Tue, 3 Jun 2014 18:15:54 +0000 (11:15 -0700)]
Fix theme resolution in account preferences

BUG: 13341461
Change-Id: Idb42ad4026d63900b62f911782e07092216d906e

10 years agoMerge "Tweak battery usage to match red lines." into lmp-preview-dev
Dianne Hackborn [Tue, 3 Jun 2014 00:21:29 +0000 (00:21 +0000)]
Merge "Tweak battery usage to match red lines." into lmp-preview-dev

10 years agoTweak battery usage to match red lines.
Dianne Hackborn [Sat, 31 May 2014 00:59:27 +0000 (17:59 -0700)]
Tweak battery usage to match red lines.

Most of this is done, the main thing missing is the color
of the bars which seems like a framework issue.

Note that this introduces a change to the global theme
making colorControlActivated the specified blue color,
which impacts all of the settings UI.  (Except apparently
progress bars, and thus the bug.)

Change-Id: I4a5ca8c3b94dc23b8f065f60fe697ee0e76ff47d

10 years agoMerge "Setting Dashboard - padding updates" into lmp-preview-dev
Fabrice Di Meglio [Tue, 3 Jun 2014 00:16:43 +0000 (00:16 +0000)]
Merge "Setting Dashboard - padding updates" into lmp-preview-dev

10 years agoSetting Dashboard - padding updates
Fabrice Di Meglio [Tue, 3 Jun 2014 00:14:11 +0000 (17:14 -0700)]
Setting Dashboard - padding updates

- following UX design for N5 device

See bug #15384992

Change-Id: Id548ae0937b1aa9b7a9e1ae5c6a6b8299ff51eb6

10 years agoMerge "Entire Switch bar should be a touch state" into lmp-preview-dev
Fabrice Di Meglio [Mon, 2 Jun 2014 23:30:29 +0000 (23:30 +0000)]
Merge "Entire Switch bar should be a touch state" into lmp-preview-dev

10 years agoEntire Switch bar should be a touch state
Fabrice Di Meglio [Mon, 2 Jun 2014 22:56:38 +0000 (15:56 -0700)]
Entire Switch bar should be a touch state

- add click listener for toggling the Switch and its text
- add Ripple background to the SwitchBar to make a nice Ripple
when there is a click/touch

See bug #15385724 Entire Switch bar should be a touch state

Change-Id: I26ef77ace596029e9c3e1e17b153b54df4a9110e

10 years agoMerge "Follow up to "A better brightness"" into lmp-preview-dev
Adrian Roos [Mon, 2 Jun 2014 23:19:51 +0000 (23:19 +0000)]
Merge "Follow up to "A better brightness"" into lmp-preview-dev

10 years agoMerge "Push Local Printer Search action to the ActionMenu" into lmp-preview-dev
Fabrice Di Meglio [Mon, 2 Jun 2014 22:41:06 +0000 (22:41 +0000)]
Merge "Push Local Printer Search action to the ActionMenu" into lmp-preview-dev

10 years agoPush Local Printer Search action to the ActionMenu
Fabrice Di Meglio [Mon, 2 Jun 2014 20:58:43 +0000 (13:58 -0700)]
Push Local Printer Search action to the ActionMenu

See bug #14325350 Printing > CloudPrint ActionBar is overcrowded

Change-Id: I9c7ca08ecbcf2a918239d952dc8c23315c46f152

10 years agoFollow up to "A better brightness"
Adrian Roos [Mon, 2 Jun 2014 18:33:56 +0000 (20:33 +0200)]
Follow up to "A better brightness"

Original change I122e1218dd0072c979a59bdafd3e0b6f4eec99ab was missing
search provider logic adjustments and length limits on the added strings.

Bug: 15313133
Change-Id: I8910dd60111c87f5494db7bac76a351e89c1a99b

10 years agoSettings: update bug report shortcut summary.
John Spurlock [Mon, 2 Jun 2014 19:24:07 +0000 (15:24 -0400)]
Settings: update bug report shortcut summary.

Now mentions the power menu instead of Quick Settings.

Bug:15385554
Change-Id: I48c0625efc4589478e2866b3c7991cdb46e8204f

10 years agoAdd Indexing and Search for ChooseLockGenericFragment - DO NOT MERGE
Fabrice Di Meglio [Sat, 31 May 2014 00:59:00 +0000 (17:59 -0700)]
Add Indexing and Search for ChooseLockGenericFragment - DO NOT MERGE

Manual report of 0897f975c12808794deb0f4b81ed0bbc89d2279a

 - clean some imports
- add key and title to security_settings_picker.xml
- add ChooseLockGenericFragment in SearchIndexableResources

Change-Id: I3ab77677f3d926b0a3eb9be5d77ee23b568856aa

10 years agoMerge "ZenSettings: Only show "next day" if start >= end time." into lmp-preview-dev
John Spurlock [Fri, 30 May 2014 23:08:13 +0000 (23:08 +0000)]
Merge "ZenSettings: Only show "next day" if start >= end time." into lmp-preview-dev

10 years agoZenSettings: Only show "next day" if start >= end time.
John Spurlock [Fri, 30 May 2014 23:04:53 +0000 (19:04 -0400)]
ZenSettings: Only show "next day" if start >= end time.

Bug:15345316
Change-Id: Ic1130dc639f63ae6026f7c7ba2a0ad9402557ce7

10 years agoMerge "Fix bug #15335840 "Safety information" search suggestion shown though ......
Fabrice Di Meglio [Fri, 30 May 2014 22:36:05 +0000 (22:36 +0000)]
Merge "Fix bug #15335840 "Safety information" search suggestion shown though ..."Safety information" setting is not available in settings app" into lmp-preview-dev

10 years agoFix bug #15335840 "Safety information" search suggestion shown though
Fabrice Di Meglio [Fri, 30 May 2014 22:30:12 +0000 (15:30 -0700)]
Fix bug #15335840 "Safety information" search suggestion shown though
..."Safety information" setting is not available in settings app

- implement a SearchIndexProvider for DeviceInfoSettings and
remove some Preference indexing depending on the device state
and configuration
- remove old non used Preferences
- some code cleaning

Change-Id: I3b2c9dc7cb9f1137b553fed9330aeea4020bd2f8

10 years agoMerge "Support audience filtering in the Zen Mode settings." into lmp-preview-dev
Chris Wren [Fri, 30 May 2014 21:37:55 +0000 (21:37 +0000)]
Merge "Support audience filtering in the Zen Mode settings." into lmp-preview-dev

10 years agoMerge "Fix bug #15342475 Settings search ranking improvement" into lmp-preview-dev
Fabrice Di Meglio [Fri, 30 May 2014 21:09:16 +0000 (21:09 +0000)]
Merge "Fix bug #15342475 Settings search ranking improvement" into lmp-preview-dev

10 years agoFix bug #15342475 Settings search ranking improvement
Fabrice Di Meglio [Fri, 30 May 2014 20:44:08 +0000 (13:44 -0700)]
Fix bug #15342475 Settings search ranking improvement

- introduce the "base rank" concept. All SearchIndexablesProvider
will have a base rank and the Settings one will get a "0" base rank.
- use a map whose key is the authority name for the provider to get
and store the base rank
- if a base rank is not defined, use the current max defined one and
increment it to define the new one.

Then we will compute the real rank this way:

rank = (providerRank > 0) ? baseRank + providerRank : baseRank

Change-Id: Ifa82bfcdfc07f25c4a5f304f47550686f7d4c13d

10 years agoSupport audience filtering in the Zen Mode settings.
Chris Wren [Wed, 28 May 2014 19:11:19 +0000 (15:11 -0400)]
Support audience filtering in the Zen Mode settings.

Depends-On: I7c91dec1afeb54505426c4da59ec4d072a60c240
Change-Id: Idf5523e225c1368a43bf46338490c69ed9dffd09

10 years agoUpdate showCallScreen to use Telecomm (6/6)
Santos Cordon [Fri, 30 May 2014 04:48:16 +0000 (21:48 -0700)]
Update showCallScreen to use Telecomm (6/6)

Use TelephonyManager instead of ITelephony for showCallScreen so that
the invocation routed to telecomm instead.

Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657

10 years agoMerge "Fix bug #15330860 “More...” item in Settings should not have an icon" into...
Fabrice Di Meglio [Fri, 30 May 2014 02:43:29 +0000 (02:43 +0000)]
Merge "Fix bug #15330860 “More...” item in Settings should not have an icon" into lmp-preview-dev

10 years agoFix bug #15330860 “More...” item in Settings should not have an icon
Fabrice Di Meglio [Fri, 30 May 2014 02:19:52 +0000 (19:19 -0700)]
Fix bug #15330860 “More...” item in Settings should not have an icon

- update the string to say "NFC & more"

Change-Id: Ic61e4a85cc6dfd6f32443656d9fb3ef5f9577a6e

10 years agoMerge "Fix bug #15330860 “More...” item in Settings should not have an icon" into...
Fabrice Di Meglio [Fri, 30 May 2014 01:23:10 +0000 (01:23 +0000)]
Merge "Fix bug #15330860 “More...” item in Settings should not have an icon" into lmp-preview-dev

10 years agoFix bug #15330860 “More...” item in Settings should not have an icon
Fabrice Di Meglio [Fri, 30 May 2014 01:21:37 +0000 (18:21 -0700)]
Fix bug #15330860 “More...” item in Settings should not have an icon

- actually the issue is that the string was containing an ellipsis
so remove it

Change-Id: I37f7db91fd86ba93d533d2a78c75813d2adbbc7e

10 years agoMerge "Update ActionBar for using contentInsetStart" into lmp-preview-dev
Fabrice Di Meglio [Fri, 30 May 2014 00:47:42 +0000 (00:47 +0000)]
Merge "Update ActionBar for using contentInsetStart" into lmp-preview-dev

10 years agoUpdate ActionBar for using contentInsetStart
Fabrice Di Meglio [Thu, 29 May 2014 03:08:55 +0000 (20:08 -0700)]
Update ActionBar for using contentInsetStart

- also align SwitchBar ON/OFF text

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

Change-Id: Ie8224be169ac975b5f71ca23f0c87f385554878e

10 years agoMerge "Remove unsupported visual_lines" into lmp-preview-dev
John Reck [Thu, 29 May 2014 18:01:41 +0000 (18:01 +0000)]
Merge "Remove unsupported visual_lines" into lmp-preview-dev

10 years agoRemove unsupported visual_lines
John Reck [Thu, 29 May 2014 17:16:33 +0000 (10:16 -0700)]
Remove unsupported visual_lines

Change-Id: I710ad2d3f121203f64ea8246a1a85662b335b9e3

10 years agoMerge "Move to dalvik.vm.lib.2 to force default to libart" into lmp-preview-dev
Brian Carlstrom [Wed, 28 May 2014 21:39:35 +0000 (21:39 +0000)]
Merge "Move to dalvik.vm.lib.2 to force default to libart" into lmp-preview-dev

10 years agoMove to dalvik.vm.lib.2 to force default to libart
Brian Carlstrom [Wed, 28 May 2014 21:31:47 +0000 (14:31 -0700)]
Move to dalvik.vm.lib.2 to force default to libart

Bug: 14298175
Change-Id: I5ebd13eebf42c998418ef79381d9c8b89aaf5c0c

10 years agoSettings: Remove sound settings.
John Spurlock [Wed, 28 May 2014 13:43:45 +0000 (09:43 -0400)]
Settings: Remove sound settings.

- Move the remaining conditional preferences into
  the combined Sound & Notifications screen.
- Refactor the "Other sounds" sub-settings screen to
  provide a home for the new preferences.
- Migrate docking sounds, conditional on config.
- Migrate docking media, conditional on config.
- Migrate emergency tones, conditional on CDMA.
- Move all boilerplate preference <-> setting plumbing into
  a separate helper.
- Since some preferences in Other sounds are now conditional,
  create a special indexer for searching.
- Remove SoundSettings (and xml), create aliases in the manifest
  to avoid breaking shortcuts.

Bug:15279526
Change-Id: I5ae3ecda2f899b1948f7908bd217a799326c2c56

10 years agoMerge "Move mobile data dis/enable to Telephony" into lmp-preview-dev
Dave Langemak [Tue, 27 May 2014 21:25:51 +0000 (21:25 +0000)]
Merge "Move mobile data dis/enable to Telephony" into lmp-preview-dev

10 years agoDO NOT MERGE: Fix bug #15161058 Stability: ISE in Settings:Fragment DashboardSummary...
Fabrice Di Meglio [Thu, 22 May 2014 18:27:43 +0000 (11:27 -0700)]
DO NOT MERGE: Fix bug #15161058 Stability: ISE in Settings:Fragment DashboardSummary{588de71} not attached to Activity

- prevent rebuilding the UI until the fragment got attached

Change-Id: I6d5fcbce2581f3fc9900f1ca4fc8178ee959061e
(cherry picked from commit 53d76860a53c1463d182d4f3d28ce8e9f48454f3)

10 years agoDO NOT MERGE: Optimize Dashboard loading
Fabrice Di Meglio [Thu, 22 May 2014 17:30:03 +0000 (10:30 -0700)]
DO NOT MERGE: Optimize Dashboard loading

- prevent loading categories twice
- add some logging to see the time taken for building the Dashboard titles

Change-Id: I31724c0e66fe3b453a87f12476f58db84c73423f
(cherry picked from commit b644f29313c086806d1ba5ad3db8ac36d2bf3c4f)

10 years agoMove mobile data dis/enable to Telephony
Robert Greenwalt [Thu, 22 May 2014 03:02:32 +0000 (20:02 -0700)]
Move mobile data dis/enable to Telephony

ConnectivityService doesn't do this anymore.

bug:15077247
Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
(cherry picked from commit 0d4c500e98f7499db524c8073e2c8e9dfaa1febb)

10 years agoMerge "Settings: Hide phone-related settings on tablets." into lmp-preview-dev
John Spurlock [Tue, 27 May 2014 19:23:24 +0000 (19:23 +0000)]
Merge "Settings: Hide phone-related settings on tablets." into lmp-preview-dev

10 years agoSettings: Hide phone-related settings on tablets.
John Spurlock [Tue, 27 May 2014 15:10:52 +0000 (11:10 -0400)]
Settings: Hide phone-related settings on tablets.

Bug:15002393
Bug:15091008
Change-Id: I8238b7990572f46e1530a800897ab2d39a189055

10 years agoSettings: Performance tweaks for SeekBarVolumizer.
John Spurlock [Tue, 27 May 2014 17:12:35 +0000 (13:12 -0400)]
Settings: Performance tweaks for SeekBarVolumizer.

Bind to existing volumizer instance when possible.

Bug:15091992
Change-Id: I26248967ff85fdb7a850451336d6850e508d4f18

10 years agoFix crash when launching zen mode settings.
John Spurlock [Sat, 24 May 2014 18:40:05 +0000 (14:40 -0400)]
Fix crash when launching zen mode settings.

The switch bar is only accessible in onActivityCreated.  Defer
initialization until then.

Bug:15214851
Change-Id: Ie026d46250dae397ba0af02e833bb178631fe708

10 years agoMerge "Make smooth transition between Search fragment and the others" into lmp-previe...
Fabrice Di Meglio [Sat, 24 May 2014 01:31:42 +0000 (01:31 +0000)]
Merge "Make smooth transition between Search fragment and the others" into lmp-preview-dev

10 years agoMerge "Fix issue #15185822: Stability: ArithmeticException: divide by zero" into...
Dianne Hackborn [Fri, 23 May 2014 23:59:23 +0000 (23:59 +0000)]
Merge "Fix issue #15185822: Stability: ArithmeticException: divide by zero" into lmp-preview-dev

10 years agoFix issue #15185822: Stability: ArithmeticException: divide by zero
Dianne Hackborn [Fri, 23 May 2014 23:47:10 +0000 (16:47 -0700)]
Fix issue #15185822: Stability: ArithmeticException: divide by zero

Also small visual improvements.

Change-Id: I55dc30539a4ef67e9261f338c8c5a729a6958d9b

10 years agoMake smooth transition between Search fragment and the others
Fabrice Di Meglio [Fri, 23 May 2014 23:46:50 +0000 (16:46 -0700)]
Make smooth transition between Search fragment and the others

- use TransitionManager.beginDelayedTransition() and
getFragmentManager().executePendingTransactions()

Change-Id: I5d583916afb8b87dfe2b17b4e685ef5384c5fbd2

10 years agoUpdate Search recents behavior
Fabrice Di Meglio [Fri, 23 May 2014 23:03:43 +0000 (16:03 -0700)]
Update Search recents behavior

- per UX request
- Search recents show now by defaults with the recent searches
when the SearchView is empty
- when we press on a Serach recent, we are showing the Search results
and the recents are disappearing
- when keying text in the SearchView, we hide the recents and start
showing the results
- we still save the Search query when hitting on a result

Change-Id: I6c2be21660a30f6973dea27d4852b2068a05963d

10 years agoSeventh batch of new Quantum Theme assets
Fabrice Di Meglio [Fri, 23 May 2014 21:01:34 +0000 (14:01 -0700)]
Seventh batch of new Quantum Theme assets

- needed for Quantum Theme support

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

Change-Id: I93b060d016620a304f2e34cee498f9e2357a6cb6

10 years agoMerge "Sixth batch of new Quantum Theme assets - DO NOT MERGE" into lmp-preview-dev
Fabrice Di Meglio [Fri, 23 May 2014 20:10:09 +0000 (20:10 +0000)]
Merge "Sixth batch of new Quantum Theme assets - DO NOT MERGE" into lmp-preview-dev

10 years agoSixth batch of new Quantum Theme assets - DO NOT MERGE
Fabrice Di Meglio [Fri, 23 May 2014 02:17:36 +0000 (19:17 -0700)]
Sixth batch of new Quantum Theme assets - DO NOT MERGE

- needed for Quantum Theme support

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

Change-Id: Iaec517aa448b1590bcb355ac8694b2e4e0c90292
(cherry picked from commit 58473734485d2eb17e71b5a63a1be7f7e09ce651)

10 years agoFifth batch of new Quantum Theme assets - DO NOT MERGE
Fabrice Di Meglio [Fri, 23 May 2014 01:14:24 +0000 (18:14 -0700)]
Fifth batch of new Quantum Theme assets - DO NOT MERGE

- needed for Quantum Theme support

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

Change-Id: I04e31e277d59d97f7871dde6bdb6a7099c7a8d65
(cherry picked from commit dcfa52c524591370e8a3b7f237e7a475a234b21c)

10 years agoMerge "Fix bug #15173703 Crash in Settings is observed when Android Beam page orienta...
Fabrice Di Meglio [Fri, 23 May 2014 17:57:24 +0000 (17:57 +0000)]
Merge "Fix bug #15173703 Crash in Settings is observed when Android Beam page orientation is changed. DO NOT MERGE" into lmp-preview-dev

10 years agoUpdate references to private assets in Settings
Alan Viverette [Fri, 23 May 2014 03:43:37 +0000 (20:43 -0700)]
Update references to private assets in Settings

Change-Id: Id7a788c3f7015baf991427082b6592589e62d372

10 years agoFix bug #15173703 Crash in Settings is observed when Android Beam page orientation...
Fabrice Di Meglio [Fri, 23 May 2014 02:29:31 +0000 (19:29 -0700)]
Fix bug #15173703 Crash in Settings is observed when Android Beam page orientation is changed. DO NOT MERGE

- use onActivityCreated() / onResume() / onPause() for the SwitchBar

Change-Id: I24b346fdc5c19acedbe845d3b7697718412b5e5d
(cherry picked from commit 4c42a88828a8df9e00ce66216fe0ef9f0d89464d)

10 years agomerge in master-release history after reset to 931e6a86827af47c9cad1452bfab34fb8346cbaf
The Android Automerger [Thu, 22 May 2014 14:22:30 +0000 (07:22 -0700)]
merge in master-release history after reset to 931e6a86827af47c9cad1452bfab34fb8346cbaf

10 years agomerge in master-release history after reset to c8e7e43a9df90bd2bdd823cdc61361427ecb4c4e
The Android Automerger [Thu, 22 May 2014 12:51:01 +0000 (05:51 -0700)]
merge in master-release history after reset to c8e7e43a9df90bd2bdd823cdc61361427ecb4c4e

10 years agoMerge "make verbose logging a wifimanager hidden API"
vandwalle [Thu, 22 May 2014 03:36:48 +0000 (03:36 +0000)]
Merge "make verbose logging a wifimanager hidden API"

10 years agomake verbose logging a wifimanager hidden API
vandwalle [Wed, 21 May 2014 22:21:16 +0000 (15:21 -0700)]
make verbose logging a wifimanager hidden API

Change-Id: I092b7f507ad4dfdab16658929f02584a1fc22ba4