commit | 8a7d2b0e00449b15dd0bddce4f309e714e18cf93 | [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 | ccb99020e8f2fab9f09d2e5a8128775697711ecd | |
parent | 75a76da717d70ca8d56cb015881fbe2cd0424008 [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