commit | 46dd96a93f38faf1817280f45a1bfe2e377307cf | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Wed Apr 03 12:50:44 2019 -0700 |
committer | Hall Liu <hallliu@google.com> | Wed Apr 03 12:50:44 2019 -0700 |
tree | 6baef34bc619665c61b237ecfcec7ef130055cab | |
parent | 056b8e37e8e460aca4eed06679244328b70334d4 [diff] [blame] |
Add better logging for network scan denials When we deny a network scan due to location permissions, log the cause of the denial Bug: 129800024 Test: manual Change-Id: I17423e61f9de4dc39e7bb5ca705124bbae7a11d1
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java index 70b5e2d..28362fc 100755 --- a/src/com/android/phone/PhoneInterfaceManager.java +++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -4440,6 +4440,7 @@ if (locationResult == LocationAccessPolicy.LocationPermissionResult.DENIED_HARD) { throw e; } else { + loge(e.getMessage()); return TelephonyScanManager.INVALID_SCAN_ID; } }