Merge "Remove restriction on bands for NW scan" am: 892a6953d0
am: 5a2189500b
Change-Id: Ia9111113142d9b0c2e2beb6d5d54822504f35c95
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 117e23b..4423921 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -4460,10 +4460,6 @@
if (request.getSpecifiers() != null && request.getSpecifiers().length > 0) {
for (RadioAccessSpecifier ras : request.getSpecifiers()) {
- if (ras.getBands() != null && ras.getBands().length > 0) {
- return new SecurityException("Specific bands must not be"
- + " scanned without location access.");
- }
if (ras.getChannels() != null && ras.getChannels().length > 0) {
return new SecurityException("Specific channels must not be"
+ " scanned without location access.");