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
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
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
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
Fabrice Di Meglio
6602d02f57
Improve Preference highlighting from a Search result
...
- fix computation of the Preference position in its PreferenceScreen
- use "highlight" (scrolling and Ripple effect) for showing the result
- "highlight" is only done once
Change-Id: I232d79d795b0983beac5a9fec3dfbe9da329c98f
2014-04-16 16:16:45 -07:00
Wink Saville
1583a41f83
am d5b8ee9b
: am 242184ca
: Merge "Allow tablets to send SMS if enabled in device overlays (1/2)"
...
* commit 'd5b8ee9ba48f6b22135abc7ab59b3b971f0d85e0':
Allow tablets to send SMS if enabled in device overlays (1/2)
2014-04-16 20:30:14 +00:00
Wink Saville
d5b8ee9ba4
am 242184ca
: Merge "Allow tablets to send SMS if enabled in device overlays (1/2)"
...
* commit '242184ca23b8ef70f5347874ac9b5c59cce36208':
Allow tablets to send SMS if enabled in device overlays (1/2)
2014-04-16 20:26:53 +00:00
Wink Saville
242184ca23
Merge "Allow tablets to send SMS if enabled in device overlays (1/2)"
2014-04-16 20:21:57 +00:00
Wink Saville
7c878831b3
Merge "Add displaying DataConnectionRealTimeInfo."
2014-04-16 19:45:43 +00:00
Andres Morales
a298f077c8
Merge "Write wifi config to NFC tag"
2014-04-16 17:19:05 +00:00
Wink Saville
4f0d881871
Add displaying DataConnectionRealTimeInfo.
...
Change-Id: Iadcbf9765af57c125bcdf74e3fc652ed6c8f7d42
2014-04-15 22:05:24 -07:00
Alan Viverette
c42600c215
Merge "Use action bar widget context for accessibility toggle switches"
2014-04-16 00:27:34 +00:00
Alan Viverette
f6cbcdebbd
Use action bar widget context for accessibility toggle switches
...
Change-Id: I078968b3f4f59439743356e9fe241cdf385deef6
2014-04-15 17:08:47 -07:00