Skip to content
Snippets Groups Projects
Commit 10702f43 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

log: cleanup

Change-Id: Ibb48c4128ea66c28c6a6305075687a2df48ab46b
parent 2a3e4a39
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ public class JamiApplicationFirebase extends JamiApplication { ...@@ -52,7 +52,7 @@ public class JamiApplicationFirebase extends JamiApplication {
} }
public void setPushToken(String token) { public void setPushToken(String token) {
Log.d(TAG, "setPushToken: " + token); // Log.d(TAG, "setPushToken: " + token);
pushToken = token; pushToken = token;
if (mAccountService != null && mPreferencesService != null) { if (mAccountService != null && mPreferencesService != null) {
if (mPreferencesService.getSettings().isAllowPushNotifications()) { if (mPreferencesService.getSettings().isAllowPushNotifications()) {
...@@ -62,7 +62,7 @@ public class JamiApplicationFirebase extends JamiApplication { ...@@ -62,7 +62,7 @@ public class JamiApplicationFirebase extends JamiApplication {
} }
public void onMessageReceived(RemoteMessage remoteMessage) { public void onMessageReceived(RemoteMessage remoteMessage) {
Log.d(TAG, "onMessageReceived: " + remoteMessage.getFrom()); // Log.d(TAG, "onMessageReceived: " + remoteMessage.getFrom());
if (mAccountService != null) if (mAccountService != null)
mAccountService.pushNotificationReceived(remoteMessage.getFrom(), remoteMessage.getData()); mAccountService.pushNotificationReceived(remoteMessage.getFrom(), remoteMessage.getData());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment