mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
path options
This commit is contained in:
parent
3b9079a82d
commit
1371d22142
13 changed files with 125 additions and 94 deletions
|
@ -24,6 +24,8 @@ import android.content.ActivityNotFoundException;
|
|||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
|
||||
import org.geometerplus.zlibrary.core.options.Config;
|
||||
|
||||
import org.geometerplus.fbreader.network.*;
|
||||
import org.geometerplus.fbreader.network.authentication.NetworkAuthenticationManager;
|
||||
import org.geometerplus.fbreader.network.urlInfo.UrlInfo;
|
||||
|
@ -53,15 +55,19 @@ public abstract class Util implements UserRegistrationConstants {
|
|||
return;
|
||||
}
|
||||
|
||||
UIUtil.wait("loadingNetworkLibrary", new Runnable() {
|
||||
Config.Instance().runOnStart(new Runnable() {
|
||||
public void run() {
|
||||
if (SQLiteNetworkDatabase.Instance() == null) {
|
||||
new SQLiteNetworkDatabase(activity.getApplication());
|
||||
}
|
||||
UIUtil.wait("loadingNetworkLibrary", new Runnable() {
|
||||
public void run() {
|
||||
if (SQLiteNetworkDatabase.Instance() == null) {
|
||||
new SQLiteNetworkDatabase(activity.getApplication());
|
||||
}
|
||||
|
||||
library.initialize();
|
||||
library.initialize();
|
||||
}
|
||||
}, activity);
|
||||
}
|
||||
}, activity);
|
||||
});
|
||||
}
|
||||
|
||||
static Intent authorizationIntent(INetworkLink link, Uri id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue