Permalink
Browse files

Avoid book search crash on invalid intent (#1114)

  • Loading branch information...
johnwhall authored and srowen committed Dec 5, 2018
1 parent 22b8a0a commit 17658873158c82db088f72346c1bb1d04075666d
@@ -97,6 +97,11 @@ public void onCreate(Bundle icicle) {
}
isbn = intent.getStringExtra(Intents.SearchBookContents.ISBN);
if (isbn == null) {
finish();
return;
}
if (LocaleManager.isBookSearchUrl(isbn)) {
setTitle(getString(R.string.sbc_name));
} else {

0 comments on commit 1765887

Please sign in to comment.