Skip to content
Commit 1505d0ab authored by Yintang Gu's avatar Yintang Gu Committed by JeiFeng Lee
Browse files

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
parent 760e80c1
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