diff options
Diffstat (limited to 'src/playstore/java/eu')
-rw-r--r-- | src/playstore/java/eu/siacs/conversations/services/PushManagementService.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/playstore/java/eu/siacs/conversations/services/PushManagementService.java b/src/playstore/java/eu/siacs/conversations/services/PushManagementService.java index fbd768cf..3fdaf832 100644 --- a/src/playstore/java/eu/siacs/conversations/services/PushManagementService.java +++ b/src/playstore/java/eu/siacs/conversations/services/PushManagementService.java @@ -76,9 +76,9 @@ public class PushManagementService { @Override public void onIqPacketReceived(Account account, IqPacket packet) { if (packet.getType() == IqPacket.TYPE.RESULT) { - Log.d(Config.LOGTAG,account.getJid().toBareJid()+": successfully enabled push on server"); + Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": successfully enabled push on server"); } else if (packet.getType() == IqPacket.TYPE.ERROR) { - Log.d(Config.LOGTAG,account.getJid().toBareJid()+": enabling push on server failed"); + Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": enabling push on server failed"); } } }); @@ -109,6 +109,10 @@ public class PushManagementService { return GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(mXmppConnectionService) == ConnectionResult.SUCCESS; } + public boolean isStub() { + return false; + } + interface OnGcmInstanceTokenRetrieved { void onGcmInstanceTokenRetrieved(String token); } |