OSDN Git Service

android-x86/packages-apps-Settings.git
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

10 years agoam a8e1e7c9: (-s ours) am 6a0bfc9f: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Thu, 22 May 2014 03:24:23 +0000 (03:24 +0000)]
am a8e1e7c9: (-s ours) am 6a0bfc9f: (-s ours) Import translations. DO NOT MERGE

* commit 'a8e1e7c9d08b0ccca7ccce7d5462fc2cdaaa3315':
  Import translations. DO NOT MERGE

10 years agoam 6a0bfc9f: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Thu, 22 May 2014 03:15:46 +0000 (03:15 +0000)]
am 6a0bfc9f: (-s ours) Import translations. DO NOT MERGE

* commit '6a0bfc9f2b8989b971b12738906804b8e1abbdb5':
  Import translations. DO NOT MERGE

10 years agoMerge "Update highlight attribute"
Alan Viverette [Thu, 22 May 2014 01:12:03 +0000 (01:12 +0000)]
Merge "Update highlight attribute"

10 years agoMerge "Fourth batch of new Quantum Theme assets"
Fabrice Di Meglio [Thu, 22 May 2014 00:37:35 +0000 (00:37 +0000)]
Merge "Fourth batch of new Quantum Theme assets"

10 years agoFourth batch of new Quantum Theme assets
Fabrice Di Meglio [Thu, 22 May 2014 00:35:53 +0000 (17:35 -0700)]
Fourth 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: Ib0c8ef37e069a0c6ed9dd3461bc52055cf199de7

10 years agoMerge "Improve Preference highlighting for Search"
Fabrice Di Meglio [Wed, 21 May 2014 23:25:24 +0000 (23:25 +0000)]
Merge "Improve Preference highlighting for Search"

10 years agoUpdate highlight attribute
Alan Viverette [Wed, 21 May 2014 23:24:34 +0000 (16:24 -0700)]
Update highlight attribute

Change-Id: Ib9373bd3c89dbf28b4586d95306d02a3999b119e

10 years agoImprove Preference highlighting for Search
Fabrice Di Meglio [Wed, 21 May 2014 23:19:41 +0000 (16:19 -0700)]
Improve Preference highlighting for Search

- cache hightlight Drawable
- set mPreferenceHighlighted as early as possible

Change-Id: I512d4677e94309175ead22c46b7a78e2aa387e1c

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 21 May 2014 21:52:35 +0000 (14:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idbb361c506a6d3d88653e6699b00d79c344b8c98
Auto-generated-cl: translation import

10 years agoMerge "Fix HighlightingFragment"
Fabrice Di Meglio [Wed, 21 May 2014 21:32:18 +0000 (21:32 +0000)]
Merge "Fix HighlightingFragment"

10 years agoFix HighlightingFragment
Fabrice Di Meglio [Wed, 21 May 2014 21:26:52 +0000 (14:26 -0700)]
Fix HighlightingFragment

- get themed highlight drawable

Similar fix as I945eca98e1d73fda3b290a6ababfd1fb41118d8f

Change-Id: Ieabee16433ec29044a7a26875c3325231a287c88

10 years agoMerge "Update battery use chart to better match new mocks."
Dianne Hackborn [Wed, 21 May 2014 21:26:24 +0000 (21:26 +0000)]
Merge "Update battery use chart to better match new mocks."

10 years agoUpdate battery use chart to better match new mocks.
Dianne Hackborn [Fri, 16 May 2014 00:04:42 +0000 (17:04 -0700)]
Update battery use chart to better match new mocks.

Change-Id: I714cb30ccd9b8144785aee16a23ae2b723df4347

10 years agoMerge "Fix typo in Settings"
Alan Viverette [Wed, 21 May 2014 21:10:15 +0000 (21:10 +0000)]
Merge "Fix typo in Settings"

10 years agoFix typo in Settings
Alan Viverette [Wed, 21 May 2014 21:09:15 +0000 (14:09 -0700)]
Fix typo in Settings

Change-Id: I343242def31448fa5697e21bec3b35ee55e22d13

10 years agoMerge "Fix bug #15115542 Ripple effect is crashing Settings with java.lang.NullPointe...
Fabrice Di Meglio [Wed, 21 May 2014 21:02:30 +0000 (21:02 +0000)]
Merge "Fix bug #15115542 Ripple effect is crashing Settings with java.lang.NullPointerException"

10 years agoFix bug #15115542 Ripple effect is crashing Settings with java.lang.NullPointerException
Fabrice Di Meglio [Wed, 21 May 2014 20:58:46 +0000 (13:58 -0700)]
Fix bug #15115542 Ripple effect is crashing Settings with java.lang.NullPointerException

- for having the tint attribute to be populated you need to have the Theme passed.
This is why Fragment.getActivity().getDrawable(...) should be used instead of
Fragment.getResources().getDrawable(...)

Change-Id: I945eca98e1d73fda3b290a6ababfd1fb41118d8f

10 years agoUpdate NotificationListenerService API
Christoph Studer [Wed, 21 May 2014 11:04:05 +0000 (13:04 +0200)]
Update NotificationListenerService API

Change-Id: I09089bf5063031c08e67a5e63e2997f8df727bfd

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Wed, 21 May 2014 15:42:51 +0000 (15:42 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Add tablet pattern layout to avoid outsize patterns"
Paul Lawrence [Wed, 21 May 2014 14:09:00 +0000 (14:09 +0000)]
Merge "Add tablet pattern layout to avoid outsize patterns"

10 years agoMerge "Fix landscape mode for pattern decrypt dialog"
Paul Lawrence [Wed, 21 May 2014 14:08:44 +0000 (14:08 +0000)]
Merge "Fix landscape mode for pattern decrypt dialog"

10 years agomerge in master-release history after reset to 645b709de8d84081062f8bebcd67bff7b51840b7
The Android Automerger [Wed, 21 May 2014 12:50:47 +0000 (05:50 -0700)]
merge in master-release history after reset to 645b709de8d84081062f8bebcd67bff7b51840b7

10 years agoMerge "Fix bug #14323392 Old Settings screen is shown while choosing Settings shortcut"
Fabrice Di Meglio [Wed, 21 May 2014 02:25:34 +0000 (02:25 +0000)]
Merge "Fix bug #14323392 Old Settings screen is shown while choosing Settings shortcut"

10 years agoFix bug #14323392 Old Settings screen is shown while choosing Settings shortcut
Fabrice Di Meglio [Wed, 21 May 2014 02:23:27 +0000 (19:23 -0700)]
Fix bug #14323392 Old Settings screen is shown while choosing Settings shortcut

- move the Theme from styles.xml to themes.xml
- update the theme "Theme.CreateShortCut" to match the Settings App one
for Quantum Paper theming

Change-Id: I491c1e8e34eebea8c63e056e9514190e72ffa994

10 years agoMerge "Remove tweak for Font size"
Fabrice Di Meglio [Wed, 21 May 2014 02:13:38 +0000 (02:13 +0000)]
Merge "Remove tweak for Font size"

10 years agoRemove tweak for Font size
Fabrice Di Meglio [Wed, 21 May 2014 02:07:10 +0000 (19:07 -0700)]
Remove tweak for Font size

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

Change-Id: Id91360f9e0b3b34baa3ea5db8f090233e61bbeaa

10 years agoMerge "Tune SwitchBar padding"
Fabrice Di Meglio [Wed, 21 May 2014 02:01:20 +0000 (02:01 +0000)]
Merge "Tune SwitchBar padding"

10 years agoTune SwitchBar padding
Fabrice Di Meglio [Wed, 21 May 2014 01:59:21 +0000 (18:59 -0700)]
Tune SwitchBar padding

- remove hardcoded values
- use UX specs padding values for Phone and Tablet UI

Change-Id: Ic907c52860a1cc17acddd271943c8b2da20fb957

10 years agoMerge "Fix master: deleting remaining file from revert."
Andres Morales [Wed, 21 May 2014 00:56:29 +0000 (00:56 +0000)]
Merge "Fix master: deleting remaining file from revert."

10 years agoFix master: deleting remaining file from revert.
Andres Morales [Wed, 21 May 2014 00:49:30 +0000 (17:49 -0700)]
Fix master: deleting remaining file from revert.

Change-Id: I9aab25b8a7135bbc59556bc30d538a7c450de060

10 years agoMerge "Don't build tests by default"
Amith Yamasani [Wed, 21 May 2014 00:39:13 +0000 (00:39 +0000)]
Merge "Don't build tests by default"

10 years agoDon't build tests by default
Amith Yamasani [Wed, 21 May 2014 00:37:44 +0000 (17:37 -0700)]
Don't build tests by default

Change-Id: I30de838657199b853948b6ba77bc9e5da28cc4f7

10 years agoMerge "Revert "Settings for NFC Unlock""
Andres Morales [Tue, 20 May 2014 23:40:26 +0000 (23:40 +0000)]
Merge "Revert "Settings for NFC Unlock""

10 years agoMerge "Fix bug #14494292 Settings>Search>Recent searches keep on populating the same...
Fabrice Di Meglio [Tue, 20 May 2014 23:36:22 +0000 (23:36 +0000)]
Merge "Fix bug #14494292 Settings>Search>Recent searches keep on populating the same keyword if it is searched again"

10 years agoFix bug #14494292 Settings>Search>Recent searches keep on populating the same keyword...
Fabrice Di Meglio [Tue, 20 May 2014 23:31:52 +0000 (16:31 -0700)]
Fix bug #14494292 Settings>Search>Recent searches keep on populating the same keyword if it is searched again

- do the right thing: remove the previous search queries from the Database if needed
so that there will be no dupe

Change-Id: I707eb518ea7c2a64b1407c62ff164e249fe03fa9

10 years agoMerge "Move IP config from WifiConfiguration to IpConfiguration."
Lorenzo Colitti [Tue, 20 May 2014 23:15:55 +0000 (23:15 +0000)]
Merge "Move IP config from WifiConfiguration to IpConfiguration."

10 years agoThird batch of new Quantum Theme assets
Fabrice Di Meglio [Tue, 20 May 2014 22:50:26 +0000 (15:50 -0700)]
Third batch of new Quantum Theme assets

- needed for Quantum Theme support
- some RTL assets have been removed as the LTR ones are now symetrical

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

Change-Id: I3456278979b00360d3f26bcc691522b627b7dbfe

10 years agoOptimize categories loading and refresh
Fabrice Di Meglio [Tue, 20 May 2014 22:19:29 +0000 (15:19 -0700)]
Optimize categories loading and refresh

See bug: #15091992 Opening sub activities in settings is very slow

Change-Id: I6e2e7a07fed72f35850da0614adaafde94618a4e

10 years agoFix bug #15001610 Java crash in settings is observed while adding Google account...
Fabrice Di Meglio [Tue, 20 May 2014 19:55:15 +0000 (12:55 -0700)]
Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device

- update Settings main layout to be able to show the Buttons
- make WifiPickerActivity a SettingsActivity and remove dead code
- fix reference to Buttons for using the Settings IDs instead
of the Framework ones

Change-Id: I23bfd1b8290fc007e6e80aa9a6297e55e7f6004e

10 years agoFix bug #15109661 Settings crash after tap on back key from print settings
Fabrice Di Meglio [Tue, 20 May 2014 19:26:16 +0000 (12:26 -0700)]
Fix bug #15109661 Settings crash after tap on back key from print settings

- use onResume() / onPause() for adding / removing the SwitchChangeListener

Change-Id: Ia3a4ff57075d2668e446df4f4f09e4593cc34761

10 years agoFix bug #15001610 Java crash in settings is observed while adding Google account...
Fabrice Di Meglio [Tue, 20 May 2014 19:55:15 +0000 (12:55 -0700)]
Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device

- update Settings main layout to be able to show the Buttons
- make WifiPickerActivity a SettingsActivity and remove dead code
- fix reference to Buttons for using the Settings IDs instead
of the Framework ones

Change-Id: I23bfd1b8290fc007e6e80aa9a6297e55e7f6004e

10 years agoMove IP config from WifiConfiguration to IpConfiguration.
Lorenzo Colitti [Fri, 16 May 2014 08:55:14 +0000 (01:55 -0700)]
Move IP config from WifiConfiguration to IpConfiguration.

Change-Id: I5d1189682b13f1088848809604690648d8d9ecca

10 years agoFix bug #15109661 Settings crash after tap on back key from print settings
Fabrice Di Meglio [Tue, 20 May 2014 19:26:16 +0000 (12:26 -0700)]
Fix bug #15109661 Settings crash after tap on back key from print settings

- use onResume() / onPause() for adding / removing the SwitchChangeListener

Change-Id: Ia3a4ff57075d2668e446df4f4f09e4593cc34761

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 20 May 2014 18:48:27 +0000 (11:48 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7dfbae5fc22d64062225fef49dbc4e0ec14ef9db
Auto-generated-cl: translation import

10 years agoFix WPS dialog reset while device orientation change
Vinit Deshpande [Tue, 20 May 2014 01:38:58 +0000 (18:38 -0700)]
Fix WPS dialog reset while device orientation change

Fixed WPS dialog reset to default upon device
orientation change by restoring instance state

cherry-picked from partner:klp-wireless-dev
SHA1 a85fb02ba1357cde3017e5e0705d3792332bf999

Bug: 13231785

Change-Id: Ic63b14da9d0d9856150214bfc194f6dfcb431087

10 years agoFix potential NPE with ActionBar and SwitchBar references
Fabrice Di Meglio [Tue, 20 May 2014 17:49:50 +0000 (10:49 -0700)]
Fix potential NPE with ActionBar and SwitchBar references

- in some rare cases (SetupWizard and select WiFi during account
creation) there is no ActionBar nor SwitchBar. Prevent any NPE
coming from them.

Change-Id: If52b9cdee8730c90c5da3067a1a35ebdd0255470

10 years agoUpdate Dashboard font sizes to match UX spec
Fabrice Di Meglio [Tue, 20 May 2014 17:10:36 +0000 (10:10 -0700)]
Update Dashboard font sizes to match UX spec

- 16sp for title (medium text)
- 14sp for sub-title (small text)
- 14sp for category title

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

Change-Id: I04eb99b4df1ffcb60bb906ed3e1ea588e886dba4

10 years agoRevert "Settings for NFC Unlock"
Andres Morales [Tue, 20 May 2014 16:39:27 +0000 (16:39 +0000)]
Revert "Settings for NFC Unlock"

This will be rolled into a Trustlet

This reverts commit fd2b6293358bda6f6beaab088e8913a13c0e2e31.

Change-Id: I921f0838d4646799b6664da64a578a209e9c037e

10 years agoMerge "Fix bug #15080198 Enabling developer options requires restart of settings...
Fabrice Di Meglio [Tue, 20 May 2014 16:36:04 +0000 (16:36 +0000)]
Merge "Fix bug #15080198 Enabling developer options requires restart of settings to enter"

10 years agomerge in master-release history after reset to b654a07263e3b163fc1a58f7df717f2d2fb5c7f1
The Android Automerger [Tue, 20 May 2014 12:50:38 +0000 (05:50 -0700)]
merge in master-release history after reset to b654a07263e3b163fc1a58f7df717f2d2fb5c7f1

10 years agoFix bug #15080198 Enabling developer options requires restart of settings to enter
Fabrice Di Meglio [Tue, 20 May 2014 02:51:31 +0000 (19:51 -0700)]
Fix bug #15080198 Enabling developer options requires restart of settings to enter

- fix Dashboard categories refresh issue

Change-Id: I5bb7fc4a1410df8f5c2d2d13f7625a1ccc8893c3

10 years agoMerge "Fix bug #15086008 NPE observed after user setup device daydream followed by...
Fabrice Di Meglio [Tue, 20 May 2014 00:32:37 +0000 (00:32 +0000)]
Merge "Fix bug #15086008 NPE observed after user setup device daydream followed by device orientation"

10 years agoFix bug #15086008 NPE observed after user setup device daydream followed by device...
Fabrice Di Meglio [Tue, 20 May 2014 00:30:23 +0000 (17:30 -0700)]
Fix bug #15086008 NPE observed after user setup device daydream followed by device orientation

- get the Switch reference when the fragment activity has been created
and thus into onActivityCreated(Bundle)

Change-Id: I16c8e42ff225db029d017c392f4273a1fe277a21

10 years agoMerge "Update Search results layout"
Fabrice Di Meglio [Mon, 19 May 2014 23:56:39 +0000 (23:56 +0000)]
Merge "Update Search results layout"

10 years agoUpdate Search results layout
Fabrice Di Meglio [Mon, 19 May 2014 22:48:42 +0000 (15:48 -0700)]
Update Search results layout

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

Change-Id: If3174fee563ef204eb939576e4c7ef4d986735e3

10 years agoMerge "TouchFeedbackDrawable is now RippleDrawable"
Alan Viverette [Mon, 19 May 2014 23:51:38 +0000 (23:51 +0000)]
Merge "TouchFeedbackDrawable is now RippleDrawable"

10 years agoMerge "Update Dashboard padding"
Fabrice Di Meglio [Mon, 19 May 2014 22:12:31 +0000 (22:12 +0000)]
Merge "Update Dashboard padding"

10 years agoUpdate Dashboard padding
Fabrice Di Meglio [Mon, 19 May 2014 22:11:24 +0000 (15:11 -0700)]
Update Dashboard padding

- make it the same as the one used for PreferenceFragments

Change-Id: I9575f0fef4492d76afb25b10af201839709517e9

10 years agoTouchFeedbackDrawable is now RippleDrawable
Alan Viverette [Mon, 19 May 2014 22:10:36 +0000 (15:10 -0700)]
TouchFeedbackDrawable is now RippleDrawable

Change-Id: Id025b58e9b62baa8d07f13b7eae2de61a3e4c90a

10 years agoMerge "Fix icon padding in app notification settings."
John Spurlock [Mon, 19 May 2014 21:14:03 +0000 (21:14 +0000)]
Merge "Fix icon padding in app notification settings."

10 years agoClean up search metadata for notification pages.
John Spurlock [Mon, 19 May 2014 12:51:26 +0000 (08:51 -0400)]
Clean up search metadata for notification pages.

Remove custom providers for screens added purely via xml.
Add data keys for those that remain.

Change-Id: I28172a1937e40e853f929f3332e3640e63b65141

10 years agoFix icon padding in app notification settings.
John Spurlock [Mon, 19 May 2014 19:21:19 +0000 (15:21 -0400)]
Fix icon padding in app notification settings.

Change-Id: I93da362f0bd6b3f388864a961c2365163c44e474

10 years agoMerge "Improve power fail/reset"
Paul Lawrence [Mon, 19 May 2014 14:22:45 +0000 (14:22 +0000)]
Merge "Improve power fail/reset"

10 years agoMerge "Fixing decryption messaging"
Paul Lawrence [Mon, 19 May 2014 14:22:26 +0000 (14:22 +0000)]
Merge "Fixing decryption messaging"

10 years agomerge in master-release history after reset to 81bef1d74568d623b9db3c5409740dc21c0bbc08
The Android Automerger [Mon, 19 May 2014 12:50:10 +0000 (05:50 -0700)]
merge in master-release history after reset to 81bef1d74568d623b9db3c5409740dc21c0bbc08

10 years agoVolumeZen: Sound & Notifications settings.
John Spurlock [Fri, 16 May 2014 19:50:13 +0000 (15:50 -0400)]
VolumeZen: Sound & Notifications settings.

- Add sound settings under the newly combined Sound & Notifications
  top-level settings page.
- New slider preferences for setting audio stream volumes.
- Migrate checkbox prefs to switch prefs.
- New settings subpage for touch sounds.
- New settings subpage for "Showing notifications"
- New setting pref for displaying intercepted notifications in zen mode.
- New tri-state lockscreen notifications pref.
- Add priority + sensitivity options to app notification dialog.
- Remove badges on app notifications row, migrate to subtitle text.
- Migrate strings to common spot in strings.xml
- Remove heads up setting.
- Remove tweaks category (unused).
- Clean up notification settings, separate out into a code section per option.
- Clean up _settings.xml files, prefix each pref with option name.
- Add appropriate indexing data to each settings page.

Depends on f/b change Ic30aa575ae07650cee62c8c1d83b6bc69395cf0d

Change-Id: If700385a7d0057f6c4c4bcf6e648dcf88b8ebff2

10 years agomerge in master-release history after reset to ba046c034c1731fa8e939926f6e6d1fd8d1ca4ed
The Android Automerger [Sun, 18 May 2014 12:50:08 +0000 (05:50 -0700)]
merge in master-release history after reset to ba046c034c1731fa8e939926f6e6d1fd8d1ca4ed

10 years agomerge in master-release history after reset to ba046c034c1731fa8e939926f6e6d1fd8d1ca4ed
The Android Automerger [Sat, 17 May 2014 12:51:37 +0000 (05:51 -0700)]
merge in master-release history after reset to ba046c034c1731fa8e939926f6e6d1fd8d1ca4ed

10 years agoAdd padding at the end of the Dashboard list
Fabrice Di Meglio [Sat, 17 May 2014 01:59:14 +0000 (18:59 -0700)]
Add padding at the end of the Dashboard list

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

Change-Id: I3aa01a346933eb9269d2466c07b6b5ebd6fc3cc1

10 years agoFix categories title text
Fabrice Di Meglio [Sat, 17 May 2014 00:50:45 +0000 (17:50 -0700)]
Fix categories title text

- should not be all caps any more

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

Change-Id: I612de65539a02a65a7b760d53fb04290b6b596cf

10 years agoMerge "Revert "Fix bug #15001610 Java crash in settings is observed while adding...
Fabrice Di Meglio [Sat, 17 May 2014 00:02:32 +0000 (00:02 +0000)]
Merge "Revert "Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device""