Commit Graph

13364 Commits

Author SHA1 Message Date
Fabrice Di Meglio
f40852046b First batch of new Quantum Theme assets
- needed for Quantum Theme support

Change-Id: I90e8fdbb86a3cc5d5c209d4d345f6d423b2a1d5d
2014-05-14 18:04:53 -07:00
Fabrice Di Meglio
cf37cb6bbc Use SwitchBar for Bluetooth Settings
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: Ic04de39599c91388cba8510bfd46d96e7bc30260
2014-05-14 17:05:48 -07:00
Fabrice Di Meglio
4193776698 Introduce SwitchBar widget
- SwitchBar is a LinearLayout that containts a TextView and a Switch and
is intended to replace all Switches that are put in the ActionBar as a
custom view
- use the new SwitchBar for WifiSetting only for now (a later CL will
take care of all the other Setting that are using a Switch in the
ActionBar)

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: I5e98dbe995bba8f440d08459e09ca3ac09d3464b
2014-05-14 16:42:06 -07:00
Maurice Lam
a1ebae6f71 [WifiSettings] Fix NullPointerException during setup
The wifi setup activity that setup wizard uses does not have an
action bar.

bug: 14930301
Change-Id: I14f276c1932cb725bffd765faafc0edf6f1d54f6
2014-05-14 10:18:55 -07:00
Adrian Roos
1975349c11 Merge "A better auto brightness" 2014-05-14 15:28:37 +00:00
Paul Lawrence
a2ebc3f499 Merge "Make pattern visible at decryption time" 2014-05-14 14:23:31 +00:00
Adrian Roos
244e8ce7ab A better auto brightness
Bug: 14927472
Change-Id: I122e1218dd0072c979a59bdafd3e0b6f4eec99ab
2014-05-14 14:03:35 +02:00
Fabrice Di Meglio
5659e6deed Merge "Make more room in the ActionBar" 2014-05-13 21:44:00 +00:00
Fabrice Di Meglio
35062d6983 Make more room in the ActionBar
See bug #14898161

- allow Search Option Menu only on the Dashboard (and no more
in the Settings screens)
- push the "Start Now" Day Dream Option Menu to be a real Menu
so that we can see the "Day Dream" title

Change-Id: I4a7c21fb3599ada8efc82bd5bd8c9f5049937ceb
2014-05-13 14:39:41 -07:00
Paul Lawrence
3873a193d5 Make pattern visible at decryption time
Set background to gray to enable this. Probably not the idea final
look, but at least gets the feature usable.

@bug 14883421

Change-Id: Ie599b969d5da8bc21c81c4b974263554697922a6
2014-05-13 13:47:53 -07:00
Fabrice Di Meglio
badcfaa529 Merge "Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS" 2014-05-13 20:16:11 +00:00
Fabrice Di Meglio
15826d4ea1 Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS
- the EXTRA_NO_HEADERS flag as no more meaning as we are showing
the Tiles (previously named "Headers") only in the Dashboard
(which is the main Settings screen)

Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
2014-05-13 13:10:34 -07:00
Fabrice Di Meglio
2163c7e5c4 Merge "Code cleaning: remove all remaining references to the old Header class" 2014-05-13 19:55:03 +00:00
Fabrice Di Meglio
e9326d2761 Code cleaning: remove all remaining references to the old Header class
- goodbye Header(s) !

Change-Id: Ied27f1f01dbed9c51cc74d28800d9ca7cab47d5a
2014-05-13 12:49:14 -07:00
Fabrice Di Meglio
93abe0a11f Merge "Remove Print Settings if the device if not supporting Printing" 2014-05-13 18:29:52 +00:00
Fabrice Di Meglio
488cae39da Remove Print Settings if the device if not supporting Printing
- remove the Print tile if the device does not have support for
Printing

Change-Id: Ia484eac6202324ed2b92c1c2f6162ed867b2619d
2014-05-13 11:26:34 -07:00
Baligh Uddin
6c341ca0b2 Merge "Import translations. DO NOT MERGE" 2014-05-13 15:48:41 +00:00
Przemyslaw Szczepaniak
abf3886ed9 Merge "Add explicit "use system language" TTS language." 2014-05-13 09:53:17 +00:00
Fabrice Di Meglio
eab58139f4 Merge "Fix bug #14323469 Settings crash on selecting keyword from recent searches ... after changing orientation" 2014-05-13 02:39:12 +00:00
Fabrice Di Meglio
8c3b0ce712 Fix bug #14323469 Settings crash on selecting keyword from recent searches
... after changing orientation

- set the SearchView for the SearchResultsFragment when the SearchView is
instantiated in the onCreateOptionsMenu(Menu)

- take care of the correct showing of the Recent Searched (suggestions)

Change-Id: Idfa17436d4a2436e0947ce1e1692355def3821a3
2014-05-12 19:35:38 -07:00
Fabrice Di Meglio
46907dd2c4 Merge "Use Quantum Theme for the ActionBar" 2014-05-13 01:52:13 +00:00
Fabrice Di Meglio
dfeb64df7d Use Quantum Theme for the ActionBar
- define the correct colors for the ActionBar background and its
Switches

Change-Id: I25adae26b6804788f4cfb625630e138eadc20f5f
2014-05-12 18:48:58 -07:00
Alan Viverette
b2d5e81074 Merge "Simplify accessibility display adjustments" 2014-05-12 23:05:15 +00:00
Alan Viverette
02d1aec286 Simplify accessibility display adjustments
BUG: 14680114
Change-Id: Ifd66256f4a8301d4c159f62a4211a2fbaaa6111a
2014-05-12 15:13:54 -07:00
Chris Wren
1b622d28d2 Merge "port NotificationStation to new interface." 2014-05-12 20:53:24 +00:00
Alan Viverette
8ebb153272 Merge "Allow restore instance before setValues() in ListDialogPreference" 2014-05-12 19:34:53 +00:00
Amith Yamasani
ac463a0dbf Merge "Don't allow restricted profile creation for corp/edu owned devices" 2014-05-12 19:33:16 +00:00
Alan Viverette
2e1bf8a478 Allow restore instance before setValues() in ListDialogPreference
BUG: 14570831
Change-Id: I0fd24acab5221d1414f749ec18e70a72f36cc5e4
2014-05-12 12:30:43 -07:00
Baligh Uddin
5aa52b2ce4 Import translations. DO NOT MERGE
Change-Id: I3c1cfebe3d7fc95d36c80f0d960f3a4a12eaec66
Auto-generated-cl: translation import
2014-05-12 12:17:00 -07:00
Przemyslaw Szczepaniak
098b4a7eb7 Add explicit "use system language" TTS language.
Previously, if user set the TTS engine default language to the system
language, Settings app would save its value as empty string - which
is interpreted as "use system language", and makes it follow the change
of the device locale. This change introduces explicit "Use system language"
as an entry in the TTS default engine picker. This makes it consistent
with other pickers, like ones for keyboard and spellchecker.

Change-Id: Ibb4189be30bb9691ef2bd10e7fff883318eceae7
2014-05-12 16:13:14 +01:00
Przemyslaw Szczepaniak
1cb159a739 Preserve list of available TTS locales on rotation.
Bug: 13637881
Change-Id: I966005ec34b3f9f1a1354104cae119678c9b3fc4
2014-05-12 13:48:33 +01:00
Fabrice Di Meglio
55638cb6c6 Fix NPE when going into WiFi Settings
- this was occuring when updating the Index for remembered WiFi networks

Change-Id: Ifc8f843499e09150685a8dd9bfb705459f28c067
2014-05-09 20:07:13 -07:00
Fabrice Di Meglio
34483748df Fix bug #14324070 Settings search does not include any of wifi sub-settings
- add AdvancedWifiSettings to the Index
- bump the database version to force a re-indexing at the first start

Change-Id: I45aacfe6e0bb38a1209ea8dd2c4ccf0f1b90a526
2014-05-09 19:08:44 -07:00
Fabrice Di Meglio
075a2963e8 Fix bug #14399525 settings crash on opening login error notification
- check if the account istener has been previously added or not

Change-Id: Icfd111a406507ac520a396e44710a9d882f2ae4d
2014-05-09 18:36:34 -07:00
Fabrice Di Meglio
39490546d3 Add touch feedback and focus on Dashboard tiles
- use a touch-feedback background
- declare DashboardTileView as focusable

Change-Id: I67ae19cd20374e531660232034528c995f595900
2014-05-09 18:18:05 -07:00
Fabrice Di Meglio
7cae7f43e9 Fix bug #14392376 ActionBar icon / title is focusable when it doesn't do anything
- set ActionBar.setHomeButtonEnabled(boolean) as it should be

Change-Id: I93adcdf91cafd5b7a6fea88ec917f12a39be64bc
2014-05-09 16:48:36 -07:00
Fabrice Di Meglio
a7e8b27a85 Merge "Fix bug #14302110 Settings crash on hitting back key from Wifi recent searches page" 2014-05-09 22:04:30 +00:00
Fabrice Di Meglio
3d5aeb766b Fix bug #14302110 Settings crash on hitting back key from Wifi recent searches page
- prevent NPE on mSearchResultsFragment

Change-Id: I063ff17e3936be7e608a37bd6a787946b4a310fe
2014-05-09 15:03:33 -07:00
Alan Viverette
56c17b4d84 Merge "Quantum.Light for all Settings activities" 2014-05-09 21:38:26 +00:00
Julia Reynolds
ab7fe2f28c Merge "Settings user restriction changes: debugging features." 2014-05-09 20:48:48 +00:00
Amith Yamasani
0e43d324af Don't allow restricted profile creation for corp/edu owned devices
Bug: 14613459
Change-Id: I64dfba35418def8ae8793d7371b8960f5ff5946f
2014-05-09 13:43:43 -07:00
Julia Reynolds
6c088cb221 Settings user restriction changes: debugging features.
Replacing restriction pin with a user restriction for developer options.
Bug: 14081992

Change-Id: I9a71c256fbd20428b4bd2ae12939c9a50d7b5f11
2014-05-09 14:16:00 -04:00
Jeff Sharkey
f420d2c0d3 am e4dd4893: am 14f42ca9: am 110ddbfe: Merge "Fix NullPointerException issue when user change"
* commit 'e4dd48939ddeda2197b722c06f9ec803d8249f0d':
  Fix NullPointerException issue when user change
2014-05-09 17:50:30 +00:00
Jeff Sharkey
e4dd48939d am 14f42ca9: am 110ddbfe: Merge "Fix NullPointerException issue when user change"
* commit '14f42ca9f46d2dafaadff2b0ccef645d66679bc7':
  Fix NullPointerException issue when user change
2014-05-09 17:45:42 +00:00
Jeff Sharkey
14f42ca9f4 am 110ddbfe: Merge "Fix NullPointerException issue when user change"
* commit '110ddbfea0b6ba8702d3f7ba9d00c9f97c908dbb':
  Fix NullPointerException issue when user change
2014-05-09 17:41:27 +00:00
Jeff Sharkey
110ddbfea0 Merge "Fix NullPointerException issue when user change" 2014-05-09 17:35:27 +00:00
Svetoslav
3716d96b26 Merge "DynamicIndexableContentMonito should respect lacking software features." 2014-05-09 14:29:04 +00:00
Svetoslav
149c1361f1 DynamicIndexableContentMonito should respect lacking software features.
We have software features that are optional and developers should check if
these feature are available before use their APIs which are nop if the feature
is not present. DynamicIndexableContentMonito is observing changes in print
services and IMEs but printing and IMEs are optional features. Now we are
checking before tracking these features.

bug:14653371

Change-Id: I3003c645e637aa7d7118c80b4453a54b8ac8bf9a
2014-05-08 14:45:46 -07:00
Dianne Hackborn
6734408f46 Update to follow usage stats changes.
Change-Id: I693b20d908ef6cd3698600a2d2e004474f179257
2014-05-08 14:24:20 -07:00
Chris Wren
0c916144bd port NotificationStation to new interface.
This change shouldn't be necessary for clients that extend NotificationListenerService.

Depends-On: I7244c65944a9657df41fb313b3cb5a52e149709d
Change-Id: I38476c860c196ab75982b89ea796566e4e57c1ea
2014-05-08 15:58:58 -04:00