Commit Graph

6680 Commits

Author SHA1 Message Date
Przemyslaw Szczepaniak
d27e3b72cf Merge "Make TTS "Listen to an example" survive rotation." 2014-05-28 16:17:36 +00:00
Przemyslaw Szczepaniak
3b60858e9c Make TTS "Listen to an example" survive rotation.
Bug: 15019145

Change-Id: Id94e32947c58911ded3e4025653b415453cabbbb
2014-05-28 17:04:08 +01:00
Alexandra Gherghina
a14cfda8fc Adds missing accessibility string for accounts syncing
Change-Id: If84fd05c67d2bddfbbc197a6f961c10409744462
2014-05-28 15:47:25 +01:00
Fabrice Di Meglio
6268209628 Merge "Fix bug #15170508 When I initially load settings, all on/off toggles start in off position then move to on after pane loads" 2014-05-28 02:18:34 +00:00
Fabrice Di Meglio
1e52db8063 Fix bug #15170508 When I initially load settings, all on/off toggles start in off position then move to on after pane loads
- refactor all the code that was using the Switch to control it thru the SwitchBar
- start the Switch as View.GONE and make it View.VISIBLE when it is set
as "enabled" or "checked" so that you dont see the Switch transition (it shows
only with it final state)

Change-Id: I382076bf3c819c530b5b2c06ca2429dfb2cdc6bf
2014-05-27 17:01:10 -07:00
Dave Langemak
9e8bd809fc Merge "Move mobile data dis/enable to Telephony" into lmp-preview-dev 2014-05-27 21:25:52 +00:00
Fabrice Di Meglio
9c3c57f7ae 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 53d76860a5)
2014-05-27 21:01:29 +00:00
Fabrice Di Meglio
42c4b0abe5 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 b644f29313)
2014-05-27 20:58:43 +00:00
Robert Greenwalt
34cdd1a8fd Move mobile data dis/enable to Telephony
ConnectivityService doesn't do this anymore.

bug:15077247
Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
(cherry picked from commit 0d4c500e98)
2014-05-27 19:39:53 +00:00
John Spurlock
0d6b7183b5 am 66548844: Merge "Settings: Hide phone-related settings on tablets." into lmp-preview-dev
* commit '665488441761a0d6cae2498eff935de31a1a7f9f':
  Settings: Hide phone-related settings on tablets.
2014-05-27 19:26:04 +00:00
John Spurlock
6654884417 Merge "Settings: Hide phone-related settings on tablets." into lmp-preview-dev 2014-05-27 19:23:24 +00:00
John Spurlock
57c713d1d9 Settings: Hide phone-related settings on tablets.
Bug:15002393
Bug:15091008
Change-Id: I8238b7990572f46e1530a800897ab2d39a189055
2014-05-27 14:39:02 -04:00
John Spurlock
70f64b7509 am 85315533: Settings: Performance tweaks for SeekBarVolumizer.
* commit '85315533a19aa61a0c5fc27d3f783c3f21e3878f':
  Settings: Performance tweaks for SeekBarVolumizer.
2014-05-27 18:03:48 +00:00
John Spurlock
85315533a1 Settings: Performance tweaks for SeekBarVolumizer.
Bind to existing volumizer instance when possible.

Bug:15091992
Change-Id: I26248967ff85fdb7a850451336d6850e508d4f18
2014-05-27 13:12:35 -04:00
John Spurlock
4d6eb2f332 am 85ba0ee6: Fix crash when launching zen mode settings.
* commit '85ba0ee6ec978b760720f1ece3e8e64e0340d260':
  Fix crash when launching zen mode settings.
2014-05-24 18:46:32 +00:00
John Spurlock
85ba0ee6ec Fix crash when launching zen mode settings.
The switch bar is only accessible in onActivityCreated.  Defer
initialization until then.

Bug:15214851
Change-Id: Ie026d46250dae397ba0af02e833bb178631fe708
2014-05-24 14:40:05 -04:00
Fabrice Di Meglio
22807d93a2 am 7ca0cd41: Merge "Make smooth transition between Search fragment and the others" into lmp-preview-dev
* commit '7ca0cd415c4d5069e4981a6d5e41e8aa9a43f23e':
  Make smooth transition between Search fragment and the others
2014-05-24 01:34:11 +00:00
Fabrice Di Meglio
7ca0cd415c Merge "Make smooth transition between Search fragment and the others" into lmp-preview-dev 2014-05-24 01:31:43 +00:00
Fabrice Di Meglio
0897f975c1 Add Indexing and Search for ChooseLockGenericFragment
- clean some imports
- add key and title to security_settings_picker.xml
- add ChooseLockGenericFragment in SearchIndexableResources

Change-Id: I867a1e11905cc4059d6eccabeab04d55cc3d799e
2014-05-23 18:17:09 -07:00
Dianne Hackborn
beb6088990 am 0171fdba: Merge "Fix issue #15185822: Stability: ArithmeticException: divide by zero" into lmp-preview-dev
* commit '0171fdba7bd9b5acdcf0d32ffa12e07c69045a5d':
  Fix issue #15185822: Stability: ArithmeticException: divide by zero
2014-05-24 00:02:05 +00:00
Dianne Hackborn
0171fdba7b Merge "Fix issue #15185822: Stability: ArithmeticException: divide by zero" into lmp-preview-dev 2014-05-23 23:59:24 +00:00
Fabrice Di Meglio
29b915d559 am 7e4855e8: Update Search recents behavior
* commit '7e4855e8f644bdecf68ec65b8c1b7c08624a4876':
  Update Search recents behavior
2014-05-23 23:48:57 +00:00
Dianne Hackborn
a32d81797f Fix issue #15185822: Stability: ArithmeticException: divide by zero
Also small visual improvements.

Change-Id: I55dc30539a4ef67e9261f338c8c5a729a6958d9b
2014-05-23 16:47:37 -07:00
Fabrice Di Meglio
59a4055cbb Make smooth transition between Search fragment and the others
- use TransitionManager.beginDelayedTransition() and
getFragmentManager().executePendingTransactions()

Change-Id: I5d583916afb8b87dfe2b17b4e685ef5384c5fbd2
2014-05-23 16:46:50 -07:00
Fabrice Di Meglio
7e4855e8f6 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
2014-05-23 16:09:53 -07:00
Fabrice Di Meglio
a218d0ed73 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 5847373448)
2014-05-23 19:31:21 +00:00
Fabrice Di Meglio
962a141f4c 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 4c42a88828)
2014-05-23 02:33:42 +00:00
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