Fabrice Di Meglio
2ce2fd2085
Merge "Fix bug #14228591 NPE in settings app when it is launched by UiAutomator"
2014-04-21 22:35:06 +00:00
Fabrice Di Meglio
6d7bb92b38
Fix bug #14228591 NPE in settings app when it is launched by UiAutomator
...
- test for null references
Change-Id: Iff6efc92cc16ada9f6e8f057ba9c23a241e62000
2014-04-21 15:32:28 -07:00
Fabrice Di Meglio
59a672ae4a
Merge "Code cleaning"
2014-04-21 20:48:47 +00:00
Fabrice Di Meglio
7e920da656
Code cleaning
...
- remove duplicate semicolon
Change-Id: I807ce89dfa6b46c415a95a9c6cdc71fd3e9a2502
2014-04-21 13:46:39 -07:00
Fabrice Di Meglio
62a3ab41dc
Merge "Enable Search result highlight for Accessibility and IME settings"
2014-04-21 20:29:12 +00:00
Fabrice Di Meglio
bb26141ddf
Enable Search result highlight for Accessibility and IME settings
...
- add missing keys
- update Database version to force re-indexing (because the keys
were missing)
Change-Id: I7533d86b0f9d79d838e5c16d4bc51b7b09dffae5
2014-04-21 13:27:23 -07:00
Fabrice Di Meglio
42aacb1f50
Merge "Fix bug #14158603 Stability: NPE in Settings: Attempt to invoke... ...interface method 'boolean android.view.MenuItem.collapseActionView()' ...on a null object reference"
2014-04-21 19:46:39 +00:00
Fabrice Di Meglio
23ae00c1d8
Fix bug #14158603 Stability: NPE in Settings: Attempt to invoke...
...
...interface method 'boolean android.view.MenuItem.collapseActionView()'
...on a null object reference
- fix cases where mSearchMenuItem or mSearchView could be null
Change-Id: I2b0256fe2c8c1b426d4e0799881dd2f13480a00a
2014-04-21 12:43:20 -07:00
Fabrice Di Meglio
3e000df132
Merge "Fix NPE java.lang.IllegalStateException: Observer com.android.settings.SettingsPreferenceFragment$1@373ee1aa is already registered."
2014-04-21 18:49:43 +00:00
Fabrice Di Meglio
829c8fb2bc
Fix NPE java.lang.IllegalStateException: Observer com.android.settings.SettingsPreferenceFragment$1@373ee1aa is already registered.
...
- propertly register / unregister the DataSetObserver
Change-Id: I04de3c7ec14e71591edc174ebafabe9a1fb165c2
2014-04-21 11:49:36 -07:00
Fabrice Di Meglio
842cff926c
Merge "Better decoupling of Index updates in Bluetooth Settings"
2014-04-21 18:33:42 +00:00
Fabrice Di Meglio
131f49feea
Better decoupling of Index updates in Bluetooth Settings
...
- use a Handler
- force rebuilding
Change-Id: I474fa98ea0e0758abcc46d4812f744dff24fd455
2014-04-21 11:32:39 -07:00
Fabrice Di Meglio
1105d1487a
Merge "Force Search Index rebuilding for Wifi remembered networks"
2014-04-21 18:24:42 +00:00
Fabrice Di Meglio
da0e6ff8c2
Force Search Index rebuilding for Wifi remembered networks
...
... when the WiFi swich will be toggled on/off
Change-Id: Iea93819e4c473aafc6aaedf6abb723969dbc9e52
2014-04-21 11:24:33 -07:00
Fabrice Di Meglio
73358906d5
Merge "Better decoupling of Index updates in WiFi Settings"
2014-04-21 18:12:42 +00:00
Fabrice Di Meglio
784f266cbd
Better decoupling of Index updates in WiFi Settings
...
- use a Handler
Change-Id: I1e35f2e437021001900468d0df2b75e53b8c62f6
2014-04-21 10:57:07 -07:00
Fabrice Di Meglio
a5c0c17304
Merge "Remove non needed code for HeaderAdapter"
2014-04-21 17:52:56 +00:00
Fabrice Di Meglio
f2dee29d66
Remove non needed code for HeaderAdapter
...
- before, we were showing a Swich for WiFi and Bluetooth entries
in the Headers. As this is no more the case, remove the code
that is no more usefull.
- as a side effect, we are also removing the call to update the
Search Index that was running when the Settings app was resuming
or pausing.
Change-Id: I26b40df5c7a664d196a249840638d89909b6bc24
2014-04-21 10:52:34 -07:00
Fabrice Di Meglio
d33b04ff06
Merge "Search - optimize when updating the Index is done - part 2"
2014-04-21 17:15:51 +00:00
Fabrice Di Meglio
5cda21b449
Search - optimize when updating the Index is done - part 2
...
- well, fix a regression when launching WiFi / Bluetooth settings
from the Quick Settings: we can only get the Intent properties
after the call to super.onCreate(...)
Change-Id: I21abbee610ad53dd0022c645268e55a6ba31a7b0
2014-04-21 10:14:28 -07:00
Fabrice Di Meglio
d4d829ff9b
Merge "Search - optimize when updating the Index is done"
2014-04-21 16:43:21 +00:00
Fabrice Di Meglio
5ebabfcd35
Search - optimize when updating the Index is done
...
- we should only try to update the index when the Settings app is launched
Change-Id: I0543d518ea3e06804ce6fb09c987ea722bcc87cd
2014-04-21 09:42:41 -07:00
Fabrice Di Meglio
fd78ec72c3
Merge "Make highlithing delay consistent"
2014-04-21 16:33:05 +00:00
Fabrice Di Meglio
1f4140684e
Make highlithing delay consistent
...
- set it to 400ms for HighlightingFragment as it was also 400ms
for SettingsPreferenceFragment
Change-Id: I52b910246ee557c98565dacd2bbcf57a812ea7eb
2014-04-21 09:31:36 -07:00
Fabrice Di Meglio
4ee29d0308
Merge "Enable highlighting of Print services"
2014-04-21 16:30:06 +00:00
Fabrice Di Meglio
c853a4282d
Enable highlighting of Print services
...
- add to SettingsPreferenceFragment to know when the associated
RootAdapter is changing and thus being able to find the highlighted
Preference
- also, add the correct Search key during indexing. She should
match the one created when adding dynamically the Preference
- last, increase to 400ms the delay to do the highlight
Change-Id: I3a1a81fdf5c8ab5f3aaab29f16ea9879ab6df056
2014-04-21 09:28:17 -07:00
John Spurlock
4a35051565
App-level notification configuration settings page.
...
New sub-page off of notification settings to ban/unban
apps and navigate to an app's notification configuration
activity (if configured).
Centralized all notification settings artifacts under a new
settings subpackage.
Bug: 13935172
Change-Id: I53b75c02f0091900734d17dc9217035d0df9b466
2014-04-21 12:19:14 -04:00
Fabrice Di Meglio
7476f5b904
Fix Print title name in search results
...
- use R.string.print_settings
Change-Id: I3a945aed9efbc323e865db1cdbcfd8ceeb6b2558
2014-04-18 17:14:39 -07:00
Fabrice Di Meglio
ede1435518
Make all the Settings Switches appear again
...
- use the ActionBar Theme context when creating the Switch for
getting the correct Theming
Change-Id: Ic3701c53662b0f245c7149b119de8bb5cbaae232
2014-04-18 16:49:35 -07:00
Fabrice Di Meglio
255743990c
Make the WiFi switch appear again
...
- use the ActionBar Theme context when creating the Switch for
getting the correct Theming
Change-Id: I1c44e1b1c28bf02af4c2ac9912295106d93a60e8
2014-04-18 16:18:26 -07:00
Fabrice Di Meglio
2169c88a14
Code cleaning
...
- use constants where needed for the tag/key
- remove wrong tag
Change-Id: I32578ce6a3a604dc0ea7168206a5d84391e2cce7
2014-04-18 15:18:40 -07:00
Fabrice Di Meglio
b63eddc240
Merge "Improve Preference highlighting"
2014-04-18 20:46:53 +00:00
Fabrice Di Meglio
f2a5226c1e
Improve Preference highlighting
...
- use PreferenceFragment.onBindPreferences() to launch highlighting
- improve SettingsPreferenceFragment code for highlighting: now we can
find the View to highlight thru its Tag if there is no ListAdapter available
- add HighlightingFragment for highlighting a View from its tag/key. This
is dealing with cases when the content is custom and not relying on
SettingsPreferenceFragment (like DataUsageSummary)
Also:
- improve DataUsageSummary so that onResume() is not recreating the
Tabs all the time
- add missing "android:keys" on some Security Settings preference files
Change-Id: Ib1dd8238fe2fb57c151d584c0810a0e0a5ad97c4
2014-04-18 13:42:46 -07:00
Baligh Uddin
ea6ee7caa6
am 89e96c30
: (-s ours) am 54b5982f
: (-s ours) Import translations. DO NOT MERGE
...
* commit '89e96c308cf67e492b699363d90b58516ea3bf54':
Import translations. DO NOT MERGE
2014-04-17 19:36:22 +00:00
Baligh Uddin
89e96c308c
am 54b5982f
: (-s ours) Import translations. DO NOT MERGE
...
* commit '54b5982f148290a00fa2ff38e7e30d487cf69998':
Import translations. DO NOT MERGE
2014-04-17 16:23:22 +00:00
Baligh Uddin
39ce3e2b1f
Merge "Import translations. DO NOT MERGE"
2014-04-17 16:19:19 +00:00
Adrian Roos
b05a065a09
Remove the lockscreen widget setting
...
Bug: 14087729
Change-Id: Ia276411f7622fe1211528ab779a7099bb20800d4
2014-04-17 14:48:38 +02:00
Fabrice Di Meglio
03ae0fdc6d
Merge "Fix potential NPE with Preference highlighting"
2014-04-17 01:26:48 +00:00
Fabrice Di Meglio
5035ec6944
Fix potential NPE with Preference highlighting
...
- there are some cases where the ListView adapter is null
Change-Id: I9dcd171f57d9ca7b8032d890f5a18c3a01fd38cf
2014-04-16 18:26:19 -07:00
Fabrice Di Meglio
03006d2df2
Merge "Improve Preference highlight effect"
2014-04-17 01:19:13 +00:00
Fabrice Di Meglio
906ff6fdf9
Improve Preference highlight effect
...
- restrict the effect to the Preference View itself
Change-Id: I3ab04433e1acecb906d0a458b31314f97b9bda03
2014-04-16 18:18:41 -07:00
Fabrice Di Meglio
a684f73973
Merge "Update Search icon"
2014-04-17 00:26:11 +00:00
Fabrice Di Meglio
be07655642
Update Search icon
...
- use Quantum Theme one
See bug #13818985 Settings using GB-style search icon
Change-Id: I0b0f61524f1e66bfdb46c47798e9ec1f5038c10c
2014-04-16 17:25:17 -07:00
Baligh Uddin
f40d33ff04
Import translations. DO NOT MERGE
...
Change-Id: I1b956a8b327e77eecc76e3df141ad6b1750433a3
Auto-generated-cl: translation import
2014-04-16 17:22:10 -07:00
Fabrice Di Meglio
0527fd182a
Merge "Fix bug #14118555 NPE in settings app when it is launched by UiAutomator"
2014-04-17 00:19:35 +00:00
Fabrice Di Meglio
0bae067a99
Fix bug #14118555 NPE in settings app when it is launched by UiAutomator
...
- prevent the potential NPE
Change-Id: I428f49c4ee55fb1e8fe121b27dd12e21eced4dad
2014-04-16 17:18:24 -07:00
Baligh Uddin
54b5982f14
Import translations. DO NOT MERGE
...
Change-Id: I20c3ae14070c3fae914ec7151dc425ddf518ffa6
Auto-generated-cl: translation import
2014-04-16 17:18:12 -07:00
Fabrice Di Meglio
477299cfa2
Merge "Search - add "live" search results"
2014-04-16 23:58:56 +00:00
Fabrice Di Meglio
a32707664f
Search - add "live" search results
...
- now it is possible to have Search results directly when
you are typing (and not only when you press on the Search button
in the IME)
- implement onQueryTextChange(...)
- take care about re-runnin the saved query when the app is resumed
Change-Id: I021c8a9a95b50dce69ab6dace81eecb2fb188f18
2014-04-16 16:54:56 -07:00
Fabrice Di Meglio
cd22f27f73
Merge "Improve Preference highlighting from a Search result"
2014-04-16 23:22:44 +00:00