blob: 3e9a00a3ccae0bfd1443e6a903d10f55cb53ad71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package de.pixart.messenger.services;
import android.content.Intent;
import com.google.firebase.iid.FirebaseInstanceIdService;
public class InstanceIdService extends FirebaseInstanceIdService {
@Override
public void onTokenRefresh() {
Intent intent = new Intent(this, XmppConnectionService.class);
intent.setAction(XmppConnectionService.ACTION_FCM_TOKEN_REFRESH);
startService(intent);
}
}
|