diff options
author | Xiao Ma <xiaom@google.com> | 2019-03-14 18:14:36 +0900 |
---|---|---|
committer | Xiao Ma <xiaom@google.com> | 2019-06-07 20:30:16 +0900 |
commit | a66de9c21eac7e57bcf2adb667c2ef679870d48c (patch) | |
tree | 4198e8f3de763636626109518a36d2820fdbb39f /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | fe283df7abf4de27ab52c7cd998b4d5dfe01f1ac (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: 122710829
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: Id7527199424e55f1e14836e81a5d1965d13013a2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions