diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2020-06-19 06:05:41 +0000 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2020-06-24 15:45:50 +0900 |
commit | 750fe188d303a7075df1d7df151db2334ddb98c1 (patch) | |
tree | 547ed4954b19080ec5fa58133d7019eb22454f99 /src/android/net/util/NetworkStackUtils.java | |
parent | 0c423089f7c64ab82461be73778e067872789f8b (diff) |
Send normal termination metrics on wifi off
When turning wifi off, the interface gets torn down and empty
LinkProperties are received before wifi calls stop(). This causes a loss
of provisioning to be logged, instead of normal termination.
Watch interface link status up/down events, and when provisioning is
lost when the interface is down, consider it a normal termination.
Bug: 151796056
Test: manual: turn wifi off, observe events
Test: atest NetworkStackIntegrationTests (see also test-only change)
Original-Change: https://android-review.googlesource.com/1343236
Merged-In: I9d086a199de0017aa425219d20882211423925e0
Change-Id: I9d086a199de0017aa425219d20882211423925e0
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions