Skip to content

Commit

Permalink
[CHORE] Minor code change
Browse files Browse the repository at this point in the history
  • Loading branch information
Renemari Padillo committed Jan 13, 2016
1 parent 558bf72 commit 294b5ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/android/BranchSDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ public void initialize(CordovaInterface cordova, CordovaWebView webView) {
@Override
public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {

this.callbackContext = callbackContext;

if (action.equals("initSession")) {
this.callbackContext = callbackContext;
this.initSession();
return true;
}
Expand Down

0 comments on commit 294b5ee

Please sign in to comment.