commit | aa7f80a5d87349a982cbf0598a3f50b3538da53c | [log] [tgz] |
---|---|---|
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Mar 16 20:37:44 2020 +0000 |
committer | Cody Kesting <ckesting@google.com> | Mon Mar 23 17:35:15 2020 -0700 |
tree | c5cc9ad5b5df98f6cb76004758b7d77ccf0ceb81 | |
parent | e14e1869aa11178c29966f051b74f6cc2d6414d5 [diff] |
Clean up unit testing for ConnectivityDiagnostics. Connectivity Diagnostics included an unnecessary try-catch for verifying that the permissions check for invoking ConnectivityDiagnosticsCallbacks doesn't throw when the uid and package name do not match. Bug: 149119324 Test: atest FrameworksNetTests Change-Id: Ie302b1f4f437e819fdd15ec28adb0b56750c2c53 Merged-In: Ie302b1f4f437e819fdd15ec28adb0b56750c2c53 (cherry picked from commit 66b5e081b785a3b7e2a032342d4d424905581cf9)