diff options
| author | 2023-05-04 15:46:00 +0000 | |
|---|---|---|
| committer | 2023-05-04 16:04:08 +0000 | |
| commit | a0052e490e44b438dfa80fc9ace79f7a3f5e579c (patch) | |
| tree | 63a15885821b1ea36535a8ecf09a08c2d3015d27 /libs/input/PointerController.cpp | |
| parent | e6d80348a582d044ad14bddccd4016cbb1cde900 (diff) | |
[SB Refactor] Add null checks around network capabilities.
It's still not clear to me how the old code didn't NPE but ag/22820241
started causing some NPEs, because ConnectivityManager specifies that
the NetworkCapabilities from #onCapabilitiesChanged will be non-null
(and the old code didn't check nullability). But, let's fix the crashes
now anyway.
I don't believe we need to fix the new pipeline because I haven't seen
any crash clusters come through.
Fixes: 280169520
Test: atest WifiStatusTrackerTest
Change-Id: I1f100b9d799d220505ac4ebf133ee7aae551f833
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions