commit | 782393ffcbbe4ff20a87b40b6a2950ed8ce9b742 | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Sat Jun 08 04:52:31 2019 -0700 |
committer | Xiao Ma <xiaom@google.com> | Thu Jun 13 13:00:47 2019 +0000 |
tree | c6a94643c98a53c45afed692bf77411d6bb413c3 | |
parent | 6d371e092e38f91e1a82740f2db870eefeb04faa [diff] |
Fix the potential NullPointerException. The networkAttributesParcelable retrieved from IpMemoryStore might be null, it might cause crash with NullPointerException when attepmting to read from the field on a null object reference. Bug: 135174345 Test: atest FrameworksNetTests NetworkStackTests Merged-In: I658fbba3e18c5c640ed7d445d2cd59c4221e055f Merged-In: Ie6b5c293b4ca17622674d5f735a9d62e04410088 (cherry picked from commit 4769936f59f5aa2fa976f4a3d23a9c7363cf9117) Change-Id: I3be6e57f6f8c56f828b025828aae0640248d23a9