Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
[android] syntax error, missing else
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Willoughby committed Dec 18, 2012
1 parent 084594d commit 695f524
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -121,7 +121,7 @@ public void onActivityResult(int requestCode, int resultCode, Intent intent) {
//Log.d(LOG_TAG, "This should never happen");
}
this.success(new PluginResult(PluginResult.Status.OK, obj), this.callback);
} if (resultCode == Activity.RESULT_CANCELED) {
} else if (resultCode == Activity.RESULT_CANCELED) {
JSONObject obj = new JSONObject();
try {
obj.put(TEXT, "");
Expand Down

0 comments on commit 695f524

Please sign in to comment.