Commit Graph

13880 Commits

Author SHA1 Message Date
Fabrice Di Meglio
db9773a4e5 Merge "Fix bug #15115542 Ripple effect is crashing Settings with java.lang.NullPointerException" 2014-05-21 21:02:30 +00:00
Fabrice Di Meglio
676751ebbd 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
2014-05-21 13:58:46 -07:00
Christoph Studer
53509f24cf Update NotificationListenerService API
Change-Id: I09089bf5063031c08e67a5e63e2997f8df727bfd
2014-05-21 21:31:04 +02:00
Baligh Uddin
a5e1d3037f Merge "Import translations. DO NOT MERGE" 2014-05-21 15:42:52 +00:00
Paul Lawrence
238d40d236 Merge "Add tablet pattern layout to avoid outsize patterns" 2014-05-21 14:09:00 +00:00
Paul Lawrence
1571cc08c9 Merge "Fix landscape mode for pattern decrypt dialog" 2014-05-21 14:08:45 +00:00
The Android Automerger
761ab6df10 merge in master-release history after reset to 645b709de8 2014-05-21 05:50:47 -07:00
Fabrice Di Meglio
645b709de8 Merge "Fix bug #14323392 Old Settings screen is shown while choosing Settings shortcut" 2014-05-21 02:25:34 +00:00
Fabrice Di Meglio
181b98032d 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
2014-05-20 19:23:27 -07:00
Fabrice Di Meglio
7c67b677cf Merge "Remove tweak for Font size" 2014-05-21 02:13:38 +00:00
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