2016-02-12 11:39:27 +01: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-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
|
|
|
}
|