commit | c65e7fa170c004f20d6bf0947442aa752912d280 | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Fri Apr 09 12:06:42 2021 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Fri Apr 16 00:15:25 2021 +0800 |
tree | a2c97a6501523731c2232acbd73a9b047f607e5b | |
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