2016-02-12 10:39:27 +00:00
|
|
|
package eu.siacs.conversations.services;
|
|
|
|
|
|
|
|
import eu.siacs.conversations.entities.Account;
|
|
|
|
|
|
|
|
public class PushManagementService {
|
|
|
|
|
|
|
|
protected final XmppConnectionService mXmppConnectionService;
|
|
|
|
|
|
|
|
public PushManagementService(XmppConnectionService service) {
|
|
|
|
this.mXmppConnectionService = service;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void registerPushTokenOnServer(Account account) {
|
|
|
|
//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
|
|
|
}
|