Commit Graph

5903 Commits

Author SHA1 Message Date
Fabrice Di Meglio
81f63b3931 Merge "Fix bug #15173703 Crash in Settings is observed when Android Beam page orientation is changed." 2014-05-23 02:33:10 +00:00
Fabrice Di Meglio
4c42a88828 Fix bug #15173703 Crash in Settings is observed when Android Beam page orientation is changed.
- use onActivityCreated() / onResume() / onPause() for the SwitchBar

Change-Id: I24b346fdc5c19acedbe845d3b7697718412b5e5d
2014-05-22 19:32:29 -07:00
Fabrice Di Meglio
d25c354753 Merge "Sixth batch of new Quantum Theme assets" 2014-05-23 02:19:42 +00:00
Fabrice Di Meglio
5847373448 Sixth 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: Iaec517aa448b1590bcb355ac8694b2e4e0c90292
2014-05-22 19:17:36 -07:00
vandwalle
653cfeeb0a when vervbose logging, keep track of a list of ScanResults per AP
Change-Id: Ib8f797de360f11eb9914a6aa44d418e1d0571973
2014-05-22 15:03:48 -07:00
Fabrice Di Meglio
27ed053b76 Merge "Fix bug #15161058 Stability: ISE in Settings:Fragment DashboardSummary{588de71} not attached to Activity" 2014-05-22 18:29:40 +00:00
Fabrice Di Meglio
53d76860a5 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
2014-05-22 11:27:43 -07:00
Jason Monk
9c71fcc535 Merge "Add Editable PAC field to Proxy Configuration" 2014-05-22 18:24:58 +00:00
Jason Monk
0485b7c373 Add Editable PAC field to Proxy Configuration
Make PAC URL field not read only but now settable in advanced wifi
configuration options.

Bug: 14885470
Change-Id: I2c647f823d5c8a75b5fbf74434cbf0efcc4c50bf
2014-05-22 13:36:02 -04:00
Fabrice Di Meglio
167b5b0625 Merge "Optimize Dashboard loading" 2014-05-22 17:32:47 +00:00
Fabrice Di Meglio
b644f29313 Optimize Dashboard loading
- prevent loading categories twice
- add some logging to see the time taken for building the Dashboard titles

Change-Id: I31724c0e66fe3b453a87f12476f58db84c73423f
2014-05-22 10:30:03 -07:00
Robert Greenwalt
a821f8324a Merge "Move mobile data dis/enable to Telephony" 2014-05-22 13:23:07 +00:00
Robert Greenwalt
0d4c500e98 Move mobile data dis/enable to Telephony
ConnectivityService doesn't do this anymore.

bug:15077247
Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
2014-05-21 23:18:02 -07:00
vandwalle
931e6a8682 Merge "make verbose logging a wifimanager hidden API" 2014-05-22 03:36:48 +00:00
vandwalle
c9a6698fd4 make verbose logging a wifimanager hidden API
Change-Id: I092b7f507ad4dfdab16658929f02584a1fc22ba4
2014-05-21 20:25:15 -07:00
Fabrice Di Meglio
4eb86b66f2 Merge "Improve Preference highlighting for Search" 2014-05-21 23:25:25 +00:00
Fabrice Di Meglio
4a2ee7e2b6 Improve Preference highlighting for Search
- cache hightlight Drawable
- set mPreferenceHighlighted as early as possible

Change-Id: I512d4677e94309175ead22c46b7a78e2aa387e1c
2014-05-21 16:19:41 -07:00
Fabrice Di Meglio
de1bf1e32a Merge "Fix HighlightingFragment" 2014-05-21 21:32:19 +00:00
Fabrice Di Meglio
bbfaa11cf7 Fix HighlightingFragment
- get themed highlight drawable

Similar fix as I945eca98e1d73fda3b290a6ababfd1fb41118d8f

Change-Id: Ieabee16433ec29044a7a26875c3325231a287c88
2014-05-21 14:26:52 -07:00
Dianne Hackborn
7e315ee5e1 Merge "Update battery use chart to better match new mocks." 2014-05-21 21:26:24 +00:00
Dianne Hackborn
5a9ace3a7a Update battery use chart to better match new mocks.
Change-Id: I714cb30ccd9b8144785aee16a23ae2b723df4347
2014-05-21 14:19:11 -07:00
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
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
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
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
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
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
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
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
Alan Viverette
ba348ca996 TouchFeedbackDrawable is now RippleDrawable
Change-Id: Id025b58e9b62baa8d07f13b7eae2de61a3e4c90a
2014-05-19 15:10:36 -07: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
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
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
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