anotherim/src/free/java/eu/siacs/conversations/services/PushManagementService.java

38 lines
884 B
Java
Raw Normal View History

package eu.siacs.conversations.services;
import eu.siacs.conversations.entities.Account;
2019-06-25 16:15:51 +00:00
import eu.siacs.conversations.entities.Conversation;
public class PushManagementService {
protected final XmppConnectionService mXmppConnectionService;
public PushManagementService(XmppConnectionService service) {
this.mXmppConnectionService = service;
}
2019-06-25 16:15:51 +00:00
void registerPushTokenOnServer(Account account) {
//stub implementation. only affects playstore flavor
}
void registerPushTokenOnServer(Conversation conversation) {
//stub implementation. only affects playstore flavor
}
void disablePushOnServer(Conversation conversation) {
//stub implementation. only affects playstore flavor
}
2016-02-12 23:03:57 +00:00
public boolean available(Account account) {
return false;
}
public boolean isStub() {
return true;
}
public boolean availableAndUseful(Account account) {
return false;
}
}