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 <mingguangxu@google.com>
This commit is contained in:
Mingguang Xu
2019-02-27 21:29:00 -08:00
parent 42f353eb28
commit 7b6e184222

View File

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