diff options
author | Wei Wang <weiwa@google.com> | 2017-08-18 13:55:33 -0700 |
---|---|---|
committer | Wei Wang <weiwa@google.com> | 2017-08-18 16:13:36 -0700 |
commit | bd8bc092b6e2edfae44629390ac653c49047c235 (patch) | |
tree | 702d6978c328246208f6f860500114b6831afd0a /service | |
parent | 529bed806618e5232cad35492307796cf1165dac (diff) |
Fix Rtt unit tests failures due to permission checks.
Bug: 64819280
Test: wifi unit tests.
Change-Id: Ia52b1516f6e09c609bb26709715c7977d07119a1
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/RttService.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/service/java/com/android/server/wifi/RttService.java b/service/java/com/android/server/wifi/RttService.java index 2ea94576b..b96c1862b 100644 --- a/service/java/com/android/server/wifi/RttService.java +++ b/service/java/com/android/server/wifi/RttService.java @@ -745,9 +745,6 @@ public final class RttService extends SystemService { // Returns whether the client has location permission. private boolean checkLocationPermission(ClientInfo clientInfo) { - if (clientInfo.mPackageName == null) { - return false; - } return mWifiInjector.getWifiPermissionsUtil().checkCallersLocationPermission( clientInfo.mPackageName, clientInfo.mUid); } |