1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

Uri.EMPTY NPE has been fixed

This commit is contained in:
Nikolay Pultsin 2010-10-19 19:48:08 +01:00
parent 9c6b5a3a51
commit 982776288a
2 changed files with 2 additions and 2 deletions

View file

@ -263,7 +263,7 @@ public class LibraryTabActivity extends TabActivity implements MenuItem.OnMenuIt
if (file != null) {
intent.setData(Uri.fromFile(file));
} else {
intent.setData(Uri.EMPTY);
intent.setData(Uri.parse("file:///"));
}
return intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
}