diff options
author | Fan Zhang <zhfan@google.com> | 2016-09-20 12:22:18 -0700 |
---|---|---|
committer | Fan Zhang <zhfan@google.com> | 2016-09-20 19:31:27 +0000 |
commit | 51365c3b4c1dc6575882bfe6285bdf3598cac5d2 (patch) | |
tree | f36cdb6c398bd00be2f58a6fc96f9ca719a58b48 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e5e9265e091c7dbbe25493e91e561e7deef6f4da (diff) |
Fix NPE for WifiConfiguration in AccessPoint.
In getSummary methods, make a local reference to WifiConfig before
accessing the fields to prevent member variable mConfig being reset in a
different thread.
Bug: 31617798
Test: manually open/close/refresh wifi settings and see no crash.
Change-Id: I254cb3cb59dead425a9ada17d9e84a7e2974f738
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions