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

litres: POST instead of GET

This commit is contained in:
Nikolay Pultsin 2011-04-27 10:20:21 +01:00
parent 58ca56fafc
commit 910c7cac15
7 changed files with 81 additions and 40 deletions

View file

@ -142,7 +142,9 @@ abstract class Util implements UserRegistrationConstants {
if (mgr.needsInitialization()) {
mgr.initialize();
}
onSuccess.run();
if (onSuccess != null) {
onSuccess.run();
}
} catch (ZLNetworkException e) {
mgr.logOut();
runAuthenticationDialog(activity, link, e.getMessage(), onSuccess);