OSDN Git Service

wifi.proto: Fix a bug in the proto for API
authorRoshan Pius <rpius@google.com>
Thu, 28 Feb 2019 19:04:00 +0000 (11:04 -0800)
committerRoshan Pius <rpius@google.com>
Fri, 1 Mar 2019 15:13:55 +0000 (15:13 +0000)
Bug: 123362619
Bug: 123362779
Test: Compiles
Change-Id: I021ef2e93bd8547d7c135868b87861c72c808df7

proto/src/wifi.proto

index d68442f..2214ac5 100644 (file)
@@ -2354,7 +2354,7 @@ message WifiNetworkRequestApiLog {
   optional int32 num_request = 1;
 
   // Histogram of requests via this API surface to number of networks matched in scan results.
-  optional HistogramBucketInt32 network_match_size_histogram = 2;
+  repeated HistogramBucketInt32 network_match_size_histogram = 2;
 
   // Number of successful network connection from this API.
   optional int32 num_connect_success = 3;