2016-02-12 11:39:27 +01:00
|
|
|
package eu.siacs.conversations.services;
|
|
|
|
|
|
|
|
import eu.siacs.conversations.entities.Account;
|
2019-06-25 18:15:51 +02:00
|
|
|
import eu.siacs.conversations.entities.Conversation;
|
2016-02-12 11:39:27 +01:00
|
|
|
|
|
|
|
public class PushManagementService {
|
|
|
|
|
|
|
|
protected final XmppConnectionService mXmppConnectionService;
|
|
|
|
|
|
|
|
public PushManagementService(XmppConnectionService service) {
|
|
|
|
this.mXmppConnectionService = service;
|
|
|
|
}
|
|
|
|
|
2019-06-25 18:15:51 +02:00
|
|
|
void registerPushTokenOnServer(Account account) {
|
|
|
|
//stub implementation. only affects playstore flavor
|
|
|
|
}
|
|
|
|
|
2019-06-26 17:40:05 +02:00
|
|
|
void unregisterChannel(Account account, String hash) {
|
|
|
|
//stub implementation. only affects playstore flavor
|
|
|
|
}
|
|
|
|
|
2016-02-13 00:03:57 +01:00
|
|
|
public boolean available(Account account) {
|
2016-02-12 11:39:27 +01:00
|
|
|
return false;
|
|
|
|
}
|
2016-02-14 18:19:11 +01:00
|
|
|
|
|
|
|
public boolean isStub() {
|
|
|
|
return true;
|
|
|
|
}
|
2017-01-12 23:22:02 +01:00
|
|
|
|
|
|
|
public boolean availableAndUseful(Account account) {
|
|
|
|
return false;
|
|
|
|
}
|
2016-02-12 11:39:27 +01:00
|
|
|
}
|