diff options
author | Yintang Gu <yintang.gu@mediatek.com> | 2019-06-18 14:24:32 +0800 |
---|---|---|
committer | JeiFeng Lee <linger.lee@mediatek.com> | 2019-07-31 11:07:37 +0800 |
commit | 1505d0aba76a7a6590771b023ad29a67d389a284 (patch) | |
tree | 541fab0e0ec50f4f73c770190321e4dd2e48d316 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 760e80c1e9be26cb72a68a3d650732a779a77803 (diff) |
Fix null pointer exception of calling NetworkInfo.mState.name()
Remove setting nai.networkInfo as null temporarily to identify the new
created NetworkAgent, avoiding timing issue triggered by constructor
NetworkInfo(null).
Bug: 135569043
Test: Mannual test, network can work normally
Change-Id: I123ef9e97df2bccdd9528c0e894283c66d053890
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions