diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-05-23 18:17:09 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-05-23 18:17:09 -0700 |
commit | 0897f975c12808794deb0f4b81ed0bbc89d2279a (patch) | |
tree | 304eaf1af6231dfb665af823d6d7d9afa3d4a038 /src/com/android/settings/search | |
parent | beb608899098733ff78c4d4a533a396892b89b4c (diff) | |
download | packages_apps_Settings-0897f975c12808794deb0f4b81ed0bbc89d2279a.zip packages_apps_Settings-0897f975c12808794deb0f4b81ed0bbc89d2279a.tar.gz packages_apps_Settings-0897f975c12808794deb0f4b81ed0bbc89d2279a.tar.bz2 |
Add Indexing and Search for ChooseLockGenericFragment
- clean some imports
- add key and title to security_settings_picker.xml
- add ChooseLockGenericFragment in SearchIndexableResources
Change-Id: I867a1e11905cc4059d6eccabeab04d55cc3d799e
Diffstat (limited to 'src/com/android/settings/search')
-rw-r--r-- | src/com/android/settings/search/SearchIndexableResources.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/settings/search/SearchIndexableResources.java b/src/com/android/settings/search/SearchIndexableResources.java index 7b87be2..9ce949a 100644 --- a/src/com/android/settings/search/SearchIndexableResources.java +++ b/src/com/android/settings/search/SearchIndexableResources.java @@ -18,6 +18,7 @@ package com.android.settings.search; import android.provider.SearchIndexableResource; +import com.android.settings.ChooseLockGeneric; import com.android.settings.DataUsageSummary; import com.android.settings.DateTimeSettings; import com.android.settings.DevelopmentSettings; @@ -187,6 +188,12 @@ public final class SearchIndexableResources { SecuritySettings.class.getName(), R.drawable.ic_settings_security)); + sResMap.put(ChooseLockGeneric.ChooseLockGenericFragment.class.getName(), + new SearchIndexableResource(RANK_SECURITY, + R.xml.security_settings_picker, + ChooseLockGeneric.ChooseLockGenericFragment.class.getName(), + R.drawable.ic_settings_security)); + sResMap.put(InputMethodAndLanguageSettings.class.getName(), new SearchIndexableResource(RANK_IME, NO_DATA_RES_ID, |