Skip to content

Commit

Permalink
0001506: NullPointerException on Android when INTENTKEY_PROPERTIES is…
Browse files Browse the repository at this point in the history
… not provided in the Intent when starting service
  • Loading branch information
chenson42 committed Dec 29, 2013
1 parent 0e488e9 commit bf89080
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -81,8 +81,9 @@ public int onStartCommand(Intent intent, int flags, int startId) {
for (String propKey : map.keySet()) {
properties.setProperty(propKey, map.get(propKey));
}
} else {
properties = new Properties();
}
Log.i(TAG, properties.getClass().getName());
symmetricEngine = new AndroidSymmetricEngine(registrationUrl, externalId,
nodeGroupId, properties, databaseHelper, getApplicationContext());
Log.i(TAG, "engine created");
Expand Down

0 comments on commit bf89080

Please sign in to comment.