Merge "Fix array-related errorprone warnings"
diff --git a/src/com/google/android/iwlan/IwlanBroadcastReceiver.java b/src/com/google/android/iwlan/IwlanBroadcastReceiver.java
index 10b10e4..e6195ba 100644
--- a/src/com/google/android/iwlan/IwlanBroadcastReceiver.java
+++ b/src/com/google/android/iwlan/IwlanBroadcastReceiver.java
@@ -29,6 +29,8 @@
 
 import com.google.android.iwlan.epdg.EpdgSelector;
 
+import java.util.Arrays;
+
 public class IwlanBroadcastReceiver extends BroadcastReceiver {
     private static final String TAG = "IwlanBroadcastReceiver";
 
@@ -96,7 +98,12 @@
                 int pcoId = intent.getIntExtra(TelephonyManager.EXTRA_PCO_ID, 0);
                 byte[] pcoData = intent.getByteArrayExtra(TelephonyManager.EXTRA_PCO_VALUE);
 
-                Log.d(TAG, "PcoID:" + String.format("0x%04x", pcoId) + " PcoData:" + pcoData);
+                Log.d(
+                        TAG,
+                        "PcoID:"
+                                + String.format("0x%04x", pcoId)
+                                + " PcoData:"
+                                + Arrays.toString(pcoData));
 
                 Context mContext = IwlanDataService.getContext();
 
diff --git a/src/com/google/android/iwlan/epdg/EpdgSelector.java b/src/com/google/android/iwlan/epdg/EpdgSelector.java
index b547f38..8c859ad 100644
--- a/src/com/google/android/iwlan/epdg/EpdgSelector.java
+++ b/src/com/google/android/iwlan/epdg/EpdgSelector.java
@@ -152,7 +152,12 @@
     }
 
     public boolean setPcoData(int pcoId, byte[] pcoData) {
-        Log.d(TAG, "onReceive PcoId:" + String.format("0x%04x", pcoId) + " PcoData:" + pcoData);
+        Log.d(
+                TAG,
+                "onReceive PcoId:"
+                        + String.format("0x%04x", pcoId)
+                        + " PcoData:"
+                        + Arrays.toString(pcoData));
 
         int PCO_ID_IPV6 =
                 IwlanHelper.getConfig(