commit | bad369d63e975b7360693cebd1728765ddc7b924 | [log] [tgz] |
---|---|---|
author | zhangshuxiao <zhangshuxiao@xiaomi.com> | Tue Aug 09 18:48:04 2016 +0800 |
committer | Shuxiao Zhang <zhangshuxiao@xiaomi.com> | Wed Aug 10 03:49:54 2016 +0000 |
tree | 3d3b797ef02ba13ed6d78430040ccc0782ebcc2b | |
parent | 5b63231a31dbeafc0dfb260b2ebc52f536dc3441 [diff] |
[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: zhangshuxiao <zhangshuxiao@xiaomi.com>