commit | 1f4ba50cdbe55224ef1f35db54d52228a4d7bc1e | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Wed Jan 12 23:00:20 2022 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Wed Jan 12 23:30:43 2022 +0800 |
tree | 70fb7523a4210f740c4ff5fce748abc7b058a98a | |
parent | ddcee937c10f7b64fcdc8926a091aea789a1fb62 [diff] |
Check iface by TextUtils.equals In current equals method, if iface is null then it will cause null object reference when checking iface. Thus, use TextUtils.equals to check iface so that it can compare null iface. Bug: 210073043 Test: FrameworksNetTests, NetworkStaticLibTests Change-Id: I2bd8127cb030ea54438382ee89961590fffbc31a