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

merge has been finished

This commit is contained in:
Nikolay Pultsin 2010-11-24 10:27:42 +00:00
parent 249e65b8c1
commit 8cac2acc6b

View file

@ -207,10 +207,7 @@ public abstract class ZLAndroidActivity extends Activity {
public void onNewIntent(Intent intent) { public void onNewIntent(Intent intent) {
super.onNewIntent(intent); super.onNewIntent(intent);
final String fileToOpen = extractFileNameFromIntent(intent); ZLApplication.Instance().openFile(fileFromIntent(intent));
if (fileToOpen != null) {
ZLApplication.Instance().openFile(ZLFile.createFileByPath(fileToOpen));
}
} }
private static ZLAndroidLibrary getLibrary() { private static ZLAndroidLibrary getLibrary() {