commit | 94f580a6f26eec123ea627836d3e3f92519ce3f1 | [log] [tgz] |
---|---|---|
author | paulhu <paulhu@google.com> | Thu Apr 04 00:07:40 2019 +0800 |
committer | paulhu <paulhu@google.com> | Thu Apr 04 00:07:40 2019 +0800 |
tree | 633590238dcd27a05a7b6173292a382e72509825 | |
parent | d2c44d4a82ccce24ba8986b03e4d3452da6d6398 [diff] |
Fix ConnectivityServiceTest fail. NetdService#getInstance() will get null object in WrappedConnectivityService constructor. Then pass this null INetd object to PermissionMonitor will case NPE in PermissionMonitor#sendPackagePermissionsToNetd() Bug: None Test: atest FrameworksNetTests Change-Id: Ia1c80f9600a19c4aaf3f3c1b497b355d96c49c8e