aboutsummaryrefslogtreecommitdiffstats
path: root/src/playstore/java/de/pixart/messenger/services/InstanceIdService.java
blob: c73652ba6cfe14635911b2c4ab4ae3f89a33f07b (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.android.gms.iid.InstanceIDListenerService;

public class InstanceIdService extends InstanceIDListenerService {

	@Override
	public void onTokenRefresh() {
		Intent intent = new Intent(this, XmppConnectionService.class);
		intent.setAction(XmppConnectionService.ACTION_GCM_TOKEN_REFRESH);
		startService(intent);
	}
}