From e1563e1c2b73f050fd69a075f13e6647f260cb7a Mon Sep 17 00:00:00 2001 From: Mike Burke Date: Wed, 18 Feb 2015 11:19:02 -0500 Subject: [PATCH] Fixes #119 Signed-off-by: Mike Burke --- .../smartdevicelink/proxy/rpc/enums/SdlDisconnectedReason.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/enums/SdlDisconnectedReason.java b/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/enums/SdlDisconnectedReason.java index f46494d0c1..ac1ba6ac13 100644 --- a/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/enums/SdlDisconnectedReason.java +++ b/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/enums/SdlDisconnectedReason.java @@ -31,6 +31,9 @@ public static SdlDisconnectedReason valueForString(String value) { } public static SdlDisconnectedReason convertAppInterfaceUnregisteredReason(AppInterfaceUnregisteredReason reason) { + if(reason == null){ + return null; + } SdlDisconnectedReason returnReason = SdlDisconnectedReason.DEFAULT;