Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 738691d6 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Add support for key value for SearchIndexableData

- add member "key" which enabled retrieval of the data

Change-Id: Idfa835a5afd6ffa27c7592b79f9da46f0d056c9b
parent 43c290f0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -51,6 +51,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