Skip to content
Commit bad369d6 authored by zhangshuxiao's avatar zhangshuxiao Committed by Shuxiao Zhang
Browse files

[NetworkPolicy]: Fixes the crash issues caused by null pointer.



When handleRegisterNetworkAgent in ConnectivityService,
the networkinfo of NetworkAgentInfo will be set to null.
So we need to handle the null pointer of state.networkInfo.

Change-Id: I2a278f1f1b2455057fd2ed323ff4df340c3cbca9
Signed-off-by: default avatarzhangshuxiao <zhangshuxiao@xiaomi.com>
parent 5b63231a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment