Merge "Adding query length parameter to protobuf" into ub-launcher3-qt-dev
This commit is contained in:
@@ -56,6 +56,7 @@ message Target {
|
||||
optional int32 predictedRank = 15;
|
||||
optional TargetExtension extension = 16;
|
||||
optional TipType tip_type = 17;
|
||||
optional int32 search_query_length = 18;
|
||||
}
|
||||
|
||||
// Used to define what type of item a Target would represent.
|
||||
|
||||
@@ -144,6 +144,10 @@ public class LoggerUtils {
|
||||
+ "), pageIdx=" + t.pageIndex;
|
||||
|
||||
}
|
||||
if (t.searchQueryLength != 0) {
|
||||
typeStr += ", searchQueryLength=" + t.searchQueryLength;
|
||||
}
|
||||
|
||||
if (t.itemType == ItemType.TASK) {
|
||||
typeStr += ", pageIdx=" + t.pageIndex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user