2016-02-12 10:39:27 +00:00
|
|
|
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;
|
2016-02-12 10:39:27 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-06-26 15:40:05 +00:00
|
|
|
void unregisterChannel(Account account, String hash) {
|
|
|
|
//stub implementation. only affects playstore flavor
|
|
|
|
}
|
|
|
|
|
2016-02-12 23:03:57 +00:00
|
|
|
public boolean available(Account account) {
|
2016-02-12 10:39:27 +00:00
|
|
|
return false;
|
|
|
|
}
|
2016-02-14 17:19:11 +00:00
|
|
|
|
|
|
|
public boolean isStub() {
|
|
|
|
return true;
|
|
|
|
}
|
2017-01-12 22:22:02 +00:00
|
|
|
|
|
|
|
public boolean availableAndUseful(Account account) {
|
|
|
|
return false;
|
|
|
|
}
|
2016-02-12 10:39:27 +00:00
|
|
|
}
|