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

new action constants

This commit is contained in:
Nikolay Pultsin 2011-12-21 23:52:39 +00:00
parent a03653a137
commit 50afb52006

View file

@ -40,6 +40,9 @@ public abstract class Util implements UserRegistrationConstants {
static final String AUTHORIZATION_ACTION = "android.fbreader.action.network.AUTHORIZATION";
static final String SIGNIN_ACTION = "android.fbreader.action.network.SIGNIN";
public static final String ADD_CATALOG_ACTION = "android.fbreader.action.ADD_OPDS_CATALOG";
public static final String EDIT_CATALOG_ACTION = "android.fbreader.action.EDIT_OPDS_CATALOG";
public static Intent intentByLink(Intent intent, INetworkLink link) {
if (link != null) {
intent.setData(Uri.parse(link.getUrl(UrlInfo.Type.Catalog)));