Commit Graph

13675 Commits

Author SHA1 Message Date
Fabrice Di Meglio
09786c529b Fix bug #15330860 “More...” item in Settings should not have an icon
- update the string to say "NFC & more"

Change-Id: Ic61e4a85cc6dfd6f32443656d9fb3ef5f9577a6e
2014-05-29 19:19:52 -07:00
Fabrice Di Meglio
aa66e80944 Fix bug #15330860 “More...” item in Settings should not have an icon
- actually the issue is that the string was containing an ellipsis
so remove it

Change-Id: I37f7db91fd86ba93d533d2a78c75813d2adbbc7e
2014-05-29 18:21:37 -07:00
Fabrice Di Meglio
6338695711 Update ActionBar for using contentInsetStart
- also align SwitchBar ON/OFF text

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

Change-Id: Ie8224be169ac975b5f71ca23f0c87f385554878e
2014-05-29 15:18:01 -07:00
Brian Carlstrom
238be024d7 Merge "Move to dalvik.vm.lib.2 to force default to libart" into lmp-preview-dev 2014-05-28 21:39:36 +00:00
Brian Carlstrom
3bc8aaad29 Move to dalvik.vm.lib.2 to force default to libart
Bug: 14298175
Change-Id: I5ebd13eebf42c998418ef79381d9c8b89aaf5c0c
2014-05-28 14:31:47 -07:00
John Spurlock
4e4cdeffdb 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
2014-05-28 16:37:43 -04: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
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
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
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
7ca0cd415c Merge "Make smooth transition between Search fragment and the others" into lmp-preview-dev 2014-05-24 01:31:43 +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
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
2416a3e071 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
2014-05-23 14:01:34 -07:00
Fabrice Di Meglio
5370e2e775 Merge "Sixth batch of new Quantum Theme assets - DO NOT MERGE" into lmp-preview-dev 2014-05-23 20:10:09 +00: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
52ed90b311 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 dcfa52c524)
2014-05-23 19:27:42 +00:00
Fabrice Di Meglio
058df7d01f Merge "Fix bug #15173703 Crash in Settings is observed when Android Beam page orientation is changed. DO NOT MERGE" into lmp-preview-dev 2014-05-23 17:57:24 +00:00
Alan Viverette
49dbbe17b8 Update references to private assets in Settings
Change-Id: Id7a788c3f7015baf991427082b6592589e62d372
2014-05-22 20:43:37 -07: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
The Android Automerger
474c704221 merge in master-release history after reset to 931e6a8682 2014-05-22 07:22:30 -07:00
The Android Automerger
5e49a71626 merge in master-release history after reset to c8e7e43a9d 2014-05-22 05:51:01 -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
Baligh Uddin
f7406c03b5 am a8e1e7c9: (-s ours) am 6a0bfc9f: (-s ours) Import translations. DO NOT MERGE
* commit 'a8e1e7c9d08b0ccca7ccce7d5462fc2cdaaa3315':
  Import translations. DO NOT MERGE
2014-05-22 03:24:23 +00:00
Baligh Uddin
a8e1e7c9d0 am 6a0bfc9f: (-s ours) Import translations. DO NOT MERGE
* commit '6a0bfc9f2b8989b971b12738906804b8e1abbdb5':
  Import translations. DO NOT MERGE
2014-05-22 03:15:46 +00:00
Alan Viverette
c8e7e43a9d Merge "Update highlight attribute" 2014-05-22 01:12:03 +00:00
Fabrice Di Meglio
7b9134c229 Merge "Fourth batch of new Quantum Theme assets" 2014-05-22 00:37:35 +00:00
Fabrice Di Meglio
c46bfb1c38 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
2014-05-21 17:35:53 -07:00
Fabrice Di Meglio
4eb86b66f2 Merge "Improve Preference highlighting for Search" 2014-05-21 23:25:25 +00:00
Alan Viverette
36950406e6 Update highlight attribute
Change-Id: Ib9373bd3c89dbf28b4586d95306d02a3999b119e
2014-05-21 16:24:34 -07: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
Baligh Uddin
6a0bfc9f2b Import translations. DO NOT MERGE
Change-Id: Idbb361c506a6d3d88653e6699b00d79c344b8c98
Auto-generated-cl: translation import
2014-05-21 14:52:35 -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
Alan Viverette
347d195a1a Merge "Fix typo in Settings" 2014-05-21 21:10:15 +00:00
Alan Viverette
e1d7e03464 Fix typo in Settings
Change-Id: I343242def31448fa5697e21bec3b35ee55e22d13
2014-05-21 14:09:15 -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
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