diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-03-12 17:12:26 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-03-20 14:02:42 -0700 |
commit | 5135dce1429facfd764f4afffe69d60c19589750 (patch) | |
tree | 2bd90588e95515377e3f85daf360a2adf88d0e86 /src/com/android/settings/search/SettingsSearchIndexablesProvider.java | |
parent | b4f18b8d3bc8f104ba2c0913b1023883ebbcec66 (diff) | |
download | packages_apps_Settings-5135dce1429facfd764f4afffe69d60c19589750.zip packages_apps_Settings-5135dce1429facfd764f4afffe69d60c19589750.tar.gz packages_apps_Settings-5135dce1429facfd764f4afffe69d60c19589750.tar.bz2 |
Add indexing for cached Bluetooth (BT) paired devices
- comply to the SEARCH_INDEX_DATA_PROVIDER
- add to the Index the name of previously paired BT devices
(this will work for now only and only if BT has been on during
the indexing)
Change-Id: I00065db0f4e9657cca3578a2fafa0ec39cfaa432
Diffstat (limited to 'src/com/android/settings/search/SettingsSearchIndexablesProvider.java')
-rw-r--r-- | src/com/android/settings/search/SettingsSearchIndexablesProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/search/SettingsSearchIndexablesProvider.java b/src/com/android/settings/search/SettingsSearchIndexablesProvider.java index 4673572..5690492 100644 --- a/src/com/android/settings/search/SettingsSearchIndexablesProvider.java +++ b/src/com/android/settings/search/SettingsSearchIndexablesProvider.java @@ -54,7 +54,7 @@ public class SettingsSearchIndexablesProvider extends SearchIndexablesProvider { new SearchIndexableResource(1, NO_DATA_RES_ID, WifiSettings.class.getName(), R.drawable.ic_settings_wireless), - new SearchIndexableResource(2, R.xml.bluetooth_settings, + new SearchIndexableResource(2, NO_DATA_RES_ID, BluetoothSettings.class.getName(), R.drawable.ic_settings_bluetooth2), new SearchIndexableResource(3, R.xml.data_usage_metered_prefs, |