anotherim/src/free/java/eu/siacs/conversations/services/PushManagementService.java
2020-04-28 06:50:04 +02:00

34 lines
765 B
Java

package eu.siacs.conversations.services;
import eu.siacs.conversations.entities.Account;
import eu.siacs.conversations.entities.Conversation;
public class PushManagementService {
protected final XmppConnectionService mXmppConnectionService;
public PushManagementService(XmppConnectionService service) {
this.mXmppConnectionService = service;
}
void registerPushTokenOnServer(Account account) {
//stub implementation. only affects playstore flavor
}
void unregisterChannel(Account account, String hash) {
//stub implementation. only affects playstore flavor
}
public boolean available(Account account) {
return false;
}
public boolean isStub() {
return true;
}
public boolean availableAndUseful(Account account) {
return false;
}
}