Skip to content
Snippets Groups Projects
Commit 5660437a authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

logs: reduce verbosity

reduce amount of logs for each push notification

Change-Id: I648fd8556e5212d472e4d792ed6a6dccb9ec6303
parent 8af4f876
No related branches found
No related tags found
No related merge requests found
...@@ -617,7 +617,7 @@ public class DRingService extends Service { ...@@ -617,7 +617,7 @@ public class DRingService extends Service {
@Override @Override
public int onStartCommand(Intent intent, int flags, int startId) { public int onStartCommand(Intent intent, int flags, int startId) {
Log.i(TAG, "onStartCommand " + (intent == null ? "null" : intent.getAction()) + " " + flags + " " + startId); // Log.i(TAG, "onStartCommand " + (intent == null ? "null" : intent.getAction()) + " " + flags + " " + startId);
if (intent != null) { if (intent != null) {
parseIntent(intent); parseIntent(intent);
WakefulBroadcastReceiver.completeWakefulIntent(intent); WakefulBroadcastReceiver.completeWakefulIntent(intent);
......
...@@ -37,7 +37,7 @@ public class RingFirebaseMessagingService extends FirebaseMessagingService { ...@@ -37,7 +37,7 @@ public class RingFirebaseMessagingService extends FirebaseMessagingService {
@Override @Override
public void onMessageReceived(RemoteMessage remoteMessage) { public void onMessageReceived(RemoteMessage remoteMessage) {
try { try {
Log.d(TAG, "onMessageReceived: " + remoteMessage.getFrom()); // Log.d(TAG, "onMessageReceived: " + remoteMessage.getFrom());
Map<String, String> data = remoteMessage.getData(); Map<String, String> data = remoteMessage.getData();
Bundle bundle = new Bundle(); Bundle bundle = new Bundle();
for (Map.Entry<String, String> entry : data.entrySet()) { for (Map.Entry<String, String> entry : data.entrySet()) {
......
...@@ -972,7 +972,7 @@ public class AccountService { ...@@ -972,7 +972,7 @@ public class AccountService {
} }
public void pushNotificationReceived(final String from, final Map<String, String> data) { public void pushNotificationReceived(final String from, final Map<String, String> data) {
Log.i(TAG, "pushNotificationReceived()"); // Log.i(TAG, "pushNotificationReceived()");
mExecutor.execute(() -> Ringservice.pushNotificationReceived(from, StringMap.toSwig(data))); mExecutor.execute(() -> Ringservice.pushNotificationReceived(from, StringMap.toSwig(data)));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment