1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 02:39:23 +02:00

color icons; book opening from new library view

This commit is contained in:
Nikolay Pultsin 2010-11-22 00:34:55 +00:00
parent b218f22e18
commit 97d0cbe046
6 changed files with 11 additions and 24 deletions

View file

@ -101,7 +101,7 @@ public final class FBReader extends ZLAndroidActivity {
@Override
protected ZLFile fileFromIntent(Intent intent) {
String fileToOpen = intent.getStringExtra(BOOK_PATH_KEY);
//intent.putExtra(BOOK_PATH_KEY, (String)null);
/*
if (fileToOpen == null && Intent.ACTION_VIEW.equals(intent.getAction())) {
final Uri uri = intent.getData();
if (uri != null) {
@ -116,6 +116,7 @@ public final class FBReader extends ZLAndroidActivity {
}
intent.setData(null);
}
*/
return fileToOpen != null ? ZLFile.createFileByPath(fileToOpen) : null;
}