Commit Graph

13662 Commits

Author SHA1 Message Date
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
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