From 7b6e18422212e51c124c48ad853aad73a425cbfe Mon Sep 17 00:00:00 2001 From: Mingguang Xu Date: Wed, 27 Feb 2019 21:29:00 -0800 Subject: [PATCH] Wifi usability: Add screen status into WifiIsUnusableEvent Currently screen status is not included in WifiIsUnusableEvent. Need to add this status to allow for better classification of WifiIsUnusableEvent. Bug: 126640380 Test: frameworks/base/wifi/tests/runtests.sh Change-Id: I04fb8c50a114053a70de3a939e193715e515d983 Signed-off-by: Mingguang Xu --- proto/src/wifi.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proto/src/wifi.proto b/proto/src/wifi.proto index 2214ac54c3e4d..7bb9dc5252e37 100644 --- a/proto/src/wifi.proto +++ b/proto/src/wifi.proto @@ -1774,6 +1774,9 @@ message WifiIsUnusableEvent { // Prediction horizon (in second) of Wifi usability score provided by external // system app optional int32 last_prediction_horizon_sec = 12 [default = -1]; + + // Whether screen status is on when WifiIsUnusableEvent happens. + optional bool screen_on = 13 [default = false]; } message PasspointProfileTypeCount {