This commit is contained in:
dmytyar 2015-10-21 18:42:58 +02:00
parent 24107a8e9c
commit 3a9486fd26
1 changed files with 7 additions and 5 deletions

View File

@ -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);
}