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:
parent
9c6b5a3a51
commit
982776288a
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue