Skip to content

Commit

Permalink
Catch NFE
Browse files Browse the repository at this point in the history
  • Loading branch information
Crossle Song committed Sep 6, 2013
1 parent a304ae8 commit e1db993
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vitamio/src/io/vov/vitamio/Vitamio.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ public static boolean isInitialized(Context ctx) {
return true;
} catch (IOException e) {
Log.e("isNativeLibsInited", e);
} catch (NumberFormatException e) {
Log.e("isNativeLibsInited", e);
} finally {
IOUtils.closeSilently(buffer);
}
Expand Down

1 comment on commit e1db993

@maxway1122
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.