mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-15 16:48:20 +00:00
Track search results with position and search Identifier
Bug: 169087008 Test: Manual Change-Id: I54c74093b90e5aea03a7810f55fcc32f0ddf8dda
This commit is contained in:
@@ -31,10 +31,14 @@ public class SearchTargetEvent {
|
||||
public ShortcutInfo shortcut;
|
||||
public int eventType;
|
||||
public Bundle bundle;
|
||||
public float score;
|
||||
public int index;
|
||||
public String sessionIdentifier;
|
||||
|
||||
public SearchTargetEvent(SearchTarget.ItemType itemType, int eventType) {
|
||||
public SearchTargetEvent(SearchTarget.ItemType itemType, int eventType, int index,
|
||||
String sessionId) {
|
||||
this.type = itemType;
|
||||
this.eventType = eventType;
|
||||
this.index = index;
|
||||
this.sessionIdentifier = sessionId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user