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:
parent
b218f22e18
commit
97d0cbe046
6 changed files with 11 additions and 24 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue