null fix
This commit is contained in:
parent
24107a8e9c
commit
3a9486fd26
|
@ -56,7 +56,8 @@ public class ServiceConnector {
|
|||
public void handleMessage(Message message) {
|
||||
|
||||
boolean isClaimed = false;
|
||||
String identifier = ((Bundle)message.obj).getString("identifier");
|
||||
if (message.obj != null) {
|
||||
String identifier = ((Bundle) message.obj).getString("identifier");
|
||||
if (identifier != null) {
|
||||
|
||||
for (ConnectorHandler handler : handlers) {
|
||||
|
@ -65,6 +66,7 @@ public class ServiceConnector {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!isClaimed) {
|
||||
super.handleMessage(message);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue