summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-06-28 06:01:28 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-06-28 06:01:28 +0000
commit76cf3c1f641ef2cc6c16c54a001d3e973feb7af4 (patch)
tree32d7ad1e495e98589168f3c8a36c7c455b476e22
parent9903d87381aa374571b933ff5a5e376dfa9850b2 (diff)
parent832961f3c4a2d33710bcf0a05fec0d593ff613c3 (diff)
Merge "Don't crash on readPacketFilter() failure" into pi-dev
-rw-r--r--service/java/com/android/server/wifi/WifiVendorHal.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/WifiVendorHal.java b/service/java/com/android/server/wifi/WifiVendorHal.java
index 361387e2f..2517ba62a 100644
--- a/service/java/com/android/server/wifi/WifiVendorHal.java
+++ b/service/java/com/android/server/wifi/WifiVendorHal.java
@@ -201,7 +201,7 @@ public class WifiVendorHal {
mVerboseLog.err("% returns %")
.c(niceMethodName(trace, 3))
- .c(HexDump.dumpHexString(result))
+ .c(result == null ? "(null)" : HexDump.dumpHexString(result))
.flush();
return result;