summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2020-11-09 12:25:41 -0800
committerDaniel Norman <danielnorman@google.com>2020-11-09 12:25:41 -0800
commit0052707556230f166ac57f51d88e44da0710debf (patch)
treef368be232642ce748555833efd82138192a94032 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
parent248a6ce2e2ee65f367b01c43edeecef5a6d57581 (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