Skip to content

Commit

Permalink
tratamento for no success
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Thomaz committed Dec 12, 2016
1 parent b632b9d commit 6d79bca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/reports" />
<excludeFolder url="file://$MODULE_DIR$/build/test-results" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 23 Platform" jdkType="Android SDK" />
Expand Down
Binary file modified app/release/AndroidPlugin.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public JSONObject call() throws Exception {

@Override
protected void onSuccess(JSONObject object) throws Exception {
result.onSuccess(object, object.getBoolean("success"));
result.onSuccess(object, object.has("success") && object.getBoolean("success"));
}

@Override
Expand Down

0 comments on commit 6d79bca

Please sign in to comment.