Merge "Fix NativeDaemonConnectorException issue accessing null object" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6ba04e354e
@@ -41,7 +41,7 @@ public class NativeDaemonConnectorException extends Exception {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int getCode() {
|
public int getCode() {
|
||||||
return mEvent.getCode();
|
return mEvent != null ? mEvent.getCode() : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCmd() {
|
public String getCmd() {
|
||||||
|
|||||||
Reference in New Issue
Block a user