aboutsummaryrefslogtreecommitdiffstats
path: root/src/standard/java/de/pixart/messenger/services/PushManagementService.java
blob: ca5ba64311e8d77797a4f7cfaaa462e0b0b607c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package de.pixart.messenger.services;

import de.pixart.messenger.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
    }

    public boolean available(Account account) {
        return false;
    }

    public boolean isStub() {
        return true;
    }

    public boolean availableAndUseful(Account account) {
        return false;
    }
}