Commit Graph

13670 Commits

Author SHA1 Message Date
Fabrice Di Meglio
7307096e4a Remove tweak for Font size
See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: Id91360f9e0b3b34baa3ea5db8f090233e61bbeaa
2014-05-20 19:07:10 -07:00
Fabrice Di Meglio
53e255242f Merge "Tune SwitchBar padding" 2014-05-21 02:01:20 +00:00
Fabrice Di Meglio
40a66f4c14 Tune SwitchBar padding
- remove hardcoded values
- use UX specs padding values for Phone and Tablet UI

Change-Id: Ic907c52860a1cc17acddd271943c8b2da20fb957
2014-05-20 18:59:21 -07:00
Andres Morales
319229db77 Merge "Fix master: deleting remaining file from revert." 2014-05-21 00:56:30 +00:00
Andres Morales
916c6fe341 Fix master: deleting remaining file from revert.
Change-Id: I9aab25b8a7135bbc59556bc30d538a7c450de060
2014-05-20 17:49:30 -07:00
Amith Yamasani
7e5772906c Merge "Don't build tests by default" 2014-05-21 00:39:13 +00:00
Amith Yamasani
0dd03ebe0f Don't build tests by default
Change-Id: I30de838657199b853948b6ba77bc9e5da28cc4f7
2014-05-20 17:37:44 -07:00
Andres Morales
f03c422652 Merge "Revert "Settings for NFC Unlock"" 2014-05-20 23:40:30 +00:00
Fabrice Di Meglio
7028d27a56 Merge "Fix bug #14494292 Settings>Search>Recent searches keep on populating the same keyword if it is searched again" 2014-05-20 23:36:22 +00:00
Fabrice Di Meglio
b58b28e13e 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
2014-05-20 16:31:52 -07:00
Lorenzo Colitti
d6014e51ae Merge "Move IP config from WifiConfiguration to IpConfiguration." 2014-05-20 23:15:56 +00:00
Fabrice Di Meglio
55e283282f 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
2014-05-20 15:51:20 -07:00
Fabrice Di Meglio
680b064b29 Optimize categories loading and refresh
See bug: #15091992 Opening sub activities in settings is very slow

Change-Id: I6e2e7a07fed72f35850da0614adaafde94618a4e
2014-05-20 15:19:29 -07:00
Fabrice Di Meglio
21f14dbee5 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
2014-05-20 14:59:34 -07:00
Fabrice Di Meglio
ec229c6e50 Fix bug #15109661 Settings crash after tap on back key from print settings
- use onResume() / onPause() for adding / removing the SwitchChangeListener

Change-Id: Ia3a4ff57075d2668e446df4f4f09e4593cc34761
2014-05-20 14:59:34 -07:00
Fabrice Di Meglio
d2b64f339a 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
2014-05-20 14:23:56 -07:00
Lorenzo Colitti
93068f4c15 Move IP config from WifiConfiguration to IpConfiguration.
Change-Id: I5d1189682b13f1088848809604690648d8d9ecca
2014-05-20 12:35:25 -07:00
Fabrice Di Meglio
38f2b27c0d Fix bug #15109661 Settings crash after tap on back key from print settings
- use onResume() / onPause() for adding / removing the SwitchChangeListener

Change-Id: Ia3a4ff57075d2668e446df4f4f09e4593cc34761
2014-05-20 12:26:16 -07:00
Baligh Uddin
46b454605d Import translations. DO NOT MERGE
Change-Id: I7dfbae5fc22d64062225fef49dbc4e0ec14ef9db
Auto-generated-cl: translation import
2014-05-20 11:48:27 -07:00
Vinit Deshpande
e9f007e8df 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
2014-05-20 11:33:23 -07:00
Fabrice Di Meglio
d8aec08fa9 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
2014-05-20 10:53:04 -07:00
Fabrice Di Meglio
8b81bfff2e 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
2014-05-20 10:27:05 -07:00
Andres Morales
ad0c06aca3 Revert "Settings for NFC Unlock"
This will be rolled into a Trustlet

This reverts commit fd2b629335.

Change-Id: I921f0838d4646799b6664da64a578a209e9c037e
2014-05-20 16:59:25 +00:00
Fabrice Di Meglio
dcb73d8299 Merge "Fix bug #15080198 Enabling developer options requires restart of settings to enter" 2014-05-20 16:36:04 +00:00
The Android Automerger
c510f255d3 merge in master-release history after reset to b654a07263 2014-05-20 05:50:38 -07:00
Fabrice Di Meglio
5f995727cc Fix bug #15080198 Enabling developer options requires restart of settings to enter
- fix Dashboard categories refresh issue

Change-Id: I5bb7fc4a1410df8f5c2d2d13f7625a1ccc8893c3
2014-05-19 19:51:31 -07:00
Fabrice Di Meglio
b654a07263 Merge "Fix bug #15086008 NPE observed after user setup device daydream followed by device orientation" 2014-05-20 00:32:37 +00:00
Fabrice Di Meglio
28ffbd3ba7 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
2014-05-19 17:30:23 -07:00
Fabrice Di Meglio
29d8e8bc0d Merge "Update Search results layout" 2014-05-19 23:56:39 +00:00
Fabrice Di Meglio
3f6d2e422b Update Search results layout
See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: If3174fee563ef204eb939576e4c7ef4d986735e3
2014-05-19 16:55:26 -07:00
Alan Viverette
2d8936cfe3 Merge "TouchFeedbackDrawable is now RippleDrawable" 2014-05-19 23:51:38 +00:00
Fabrice Di Meglio
bc2111be4f Merge "Update Dashboard padding" 2014-05-19 22:12:31 +00:00
Fabrice Di Meglio
7f2363e903 Update Dashboard padding
- make it the same as the one used for PreferenceFragments

Change-Id: I9575f0fef4492d76afb25b10af201839709517e9
2014-05-19 15:11:24 -07:00
Alan Viverette
ba348ca996 TouchFeedbackDrawable is now RippleDrawable
Change-Id: Id025b58e9b62baa8d07f13b7eae2de61a3e4c90a
2014-05-19 15:10:36 -07:00
John Spurlock
c3d0a2428c Merge "Fix icon padding in app notification settings." 2014-05-19 21:14:04 +00:00
John Spurlock
ac1c42f5dc 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
2014-05-19 15:24:34 -04:00
John Spurlock
dc76fcaef8 Fix icon padding in app notification settings.
Change-Id: I93da362f0bd6b3f388864a961c2365163c44e474
2014-05-19 15:21:19 -04:00
Paul Lawrence
c9cf31ca55 Merge "Improve power fail/reset" 2014-05-19 14:22:46 +00:00
Paul Lawrence
f632ce1a92 Merge "Fixing decryption messaging" 2014-05-19 14:22:27 +00:00
The Android Automerger
44163fba44 merge in master-release history after reset to 81bef1d745 2014-05-19 05:50:10 -07:00
John Spurlock
81bef1d745 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
2014-05-18 15:37:09 -04:00
The Android Automerger
489d78e6b5 merge in master-release history after reset to ba046c034c 2014-05-18 05:50:08 -07:00
The Android Automerger
f1a8837604 merge in master-release history after reset to ba046c034c 2014-05-17 05:51:37 -07:00
Fabrice Di Meglio
ba046c034c Add padding at the end of the Dashboard list
See bug #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I3aa01a346933eb9269d2466c07b6b5ebd6fc3cc1
2014-05-16 18:59:14 -07:00
Fabrice Di Meglio
0022a2a02d 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
2014-05-16 17:50:45 -07:00
Fabrice Di Meglio
ffca20cf97 Merge "Revert "Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device"" 2014-05-17 00:02:32 +00:00
Fabrice Di Meglio
93b77b7bf6 Revert "Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device"
This reverts commit 18d271c73b.

Change-Id: I04f89dbb13ad1db92276c91a7ee63d3a5dd33e62
2014-05-17 00:01:07 +00:00
Fabrice Di Meglio
74fb759f50 Merge "Improve the Dashboard layout" 2014-05-16 23:16:36 +00:00
Fabrice Di Meglio
94c9e177a4 Improve the Dashboard layout
- make the category text header taller and centered

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

Change-Id: I557211db923f106a83d65d090ce610c76fa53d5e
2014-05-16 16:13:40 -07:00
Fabrice Di Meglio
a10e056d65 Merge "Fix bug #15020874 SwitchBar needs to comply to Quantum Theme spec" 2014-05-16 22:14:33 +00:00