Adding query length parameter to protobuf

Bug: 131940434
Change-Id: Iaa7ca520406df882e154db3662a190607eb61b23
This commit is contained in:
Alex Mang 2019-05-06 21:20:07 -07:00
parent bb036f8e5a
commit 68c67540cd
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}