diff options
author | Daniel Norman <danielnorman@google.com> | 2020-11-09 12:25:41 -0800 |
---|---|---|
committer | Daniel Norman <danielnorman@google.com> | 2020-11-09 12:25:41 -0800 |
commit | 0052707556230f166ac57f51d88e44da0710debf (patch) | |
tree | f368be232642ce748555833efd82138192a94032 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | 248a6ce2e2ee65f367b01c43edeecef5a6d57581 (diff) |
Adds null-check for iface in getIfaceStats.
If this method is called with a null iface then the native method fails
with a NPE, causing the device to crash.
Bug: 172834574
Test: Launch virtual device, enable and use Wifi.
Change-Id: I7c6f48be303062e18d8f179e636c91cf8e2faae3
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions