fix null point exception.

add repository : https://jitpack.io
This commit is contained in:
dmytyar 2015-10-21 17:31:59 +02:00
parent 41e269cc59
commit 92bd71e6c3
3 changed files with 6 additions and 2 deletions

View File

@ -37,7 +37,9 @@ android {
}
}
}
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile(project(':ethereumj-core-android')) {

View File

@ -125,6 +125,8 @@ public class SyngApplication extends MultiDexApplication implements ConnectorHan
Bundle data = message.getData();
data.setClassLoader(EventFlag.class.getClassLoader());
EventFlag event = (EventFlag) data.getSerializable("event");
if (event == null)
return false;
EventData eventData;
MessageEventData messageEventData;
switch (event) {

@ -1 +1 @@
Subproject commit 12c282ce5c55527610238737c33cd99cb40a5409
Subproject commit 1151856d3892f859e7f657a2169a097a456bcd1b