diff options
| author | Aaron Huang <huangaaron@google.com> | 2021-04-09 12:06:42 +0800 |
|---|---|---|
| committer | Aaron Huang <huangaaron@google.com> | 2021-04-16 00:15:25 +0800 |
| commit | c65e7fa170c004f20d6bf0947442aa752912d280 (patch) | |
| tree | a2c97a6501523731c2232acbd73a9b047f607e5b /tests/common/java/android/net/LinkPropertiesTest.java | |
| parent | 34d1abd51dab55776f3488edb65d16b79844e92b (diff) | |
Handle null pointer cases in ConnectivityService
If a method is called by adb command "service call"
with no parameters. It will cause to crash because
of a null object reference.
Add a null check for them to avoid system server crash.
Bug: 172885426
Test: FrameworksNetTest
adb shell service call connectivity #
Change-Id: I8748fc5c6a7a6e82db3581e3026a3f75909a357e
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions
