mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-15 08:38:20 +00:00
Track search results with position and search Identifier
Bug: 169087008 Test: Manual Change-Id: I54c74093b90e5aea03a7810f55fcc32f0ddf8dda
This commit is contained in:
@@ -122,6 +122,7 @@ public class SearchTarget implements Comparable<SearchTarget> {
|
||||
public List<ShortcutInfo> shortcuts;
|
||||
public Bundle bundle;
|
||||
public float score;
|
||||
public String mSessionId;
|
||||
|
||||
/**
|
||||
* Constructor to create the search target. Bundle is currently temporary to hold
|
||||
@@ -130,11 +131,12 @@ public class SearchTarget implements Comparable<SearchTarget> {
|
||||
*
|
||||
*/
|
||||
public SearchTarget(ItemType itemType, List<ShortcutInfo> shortcuts,
|
||||
Bundle bundle, float score) {
|
||||
Bundle bundle, float score, String sessionId) {
|
||||
this.type = itemType;
|
||||
this.shortcuts = shortcuts;
|
||||
this.bundle = bundle;
|
||||
this.score = score;
|
||||
this.mSessionId = sessionId;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user