Skip to content

Commit

Permalink
fix minor structural issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Elmas authored and Can Elmas committed Nov 1, 2015
1 parent beeb5ac commit 7f3b48d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,20 @@ private Object proceed(final boolean retry) {

letContext.requestPermissions(permissionsToAsk.toArray(new String[]{}), requestCode);

return null;

} else {

Logger.log("<<< Permissions granted");

try {
return joinPoint.proceed();
} catch (Throwable t) {
throw new LetException("Proceeding with the origin method failed!", t);
throw new LetException("Proceeding with the annotated method failed!", t);
}

}

return null;
}

private boolean isPermissionValid(final String permissionName) {
Expand Down

0 comments on commit 7f3b48d

Please sign in to comment.