diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-04-08 20:15:06 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-04-08 20:15:06 +0000 |
commit | 1d6f207c0d5846f1f58f1c17d725580967cf3bb5 (patch) | |
tree | d03bcc2a5a069de92d2b93e873b8884e34294ce0 /core/java/android/provider | |
parent | 33f319f7144328b14c7411e8ef2a3f6e93342721 (diff) | |
parent | 19de4ffff3c9ebca70694b55b9784afe86f5c11b (diff) | |
download | frameworks_base-1d6f207c0d5846f1f58f1c17d725580967cf3bb5.zip frameworks_base-1d6f207c0d5846f1f58f1c17d725580967cf3bb5.tar.gz frameworks_base-1d6f207c0d5846f1f58f1c17d725580967cf3bb5.tar.bz2 |
am 19de4fff: Merge "Add support for key value for SearchIndexableData"
* commit '19de4ffff3c9ebca70694b55b9784afe86f5c11b':
Add support for key value for SearchIndexableData
Diffstat (limited to 'core/java/android/provider')
-rw-r--r-- | core/java/android/provider/SearchIndexableData.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/provider/SearchIndexableData.java b/core/java/android/provider/SearchIndexableData.java index 719dcea..05285a3 100644 --- a/core/java/android/provider/SearchIndexableData.java +++ b/core/java/android/provider/SearchIndexableData.java @@ -52,6 +52,12 @@ public abstract class SearchIndexableData { public int rank; /** + * The key for the data. This is application specific. Should be unique per data as the data + * should be able to be retrieved by the key. + */ + public String key; + + /** * The class name associated with the data. Generally this is a Fragment class name for * referring where the data is coming from and for launching the associated Fragment for * displaying the data. This is used only when the data is provided "locally". |