getPreferredNetworkType should return int[] instead of -1 on error. am: cfc2d354cf
am: 703ed1a7e8

* commit '703ed1a7e85f90729746ec98deef7fb8109389f8':
  getPreferredNetworkType should return int[] instead of -1 on error.
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index d61ef59..21b3b22 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -604,7 +604,7 @@
                     if (ar.exception == null && ar.result != null) {
                         request.result = ar.result;     // Integer
                     } else {
-                        request.result = -1;
+                        request.result = null;
                         if (ar.result == null) {
                             loge("getPreferredNetworkType: Empty response");
                         } else if (ar.exception instanceof CommandException) {