Merge "Log full ManagedServiceInfo on listener errors."
This commit is contained in:
committed by
Android (Google) Code Review
commit
9b5095b424
@@ -8268,7 +8268,7 @@ public class NotificationManagerService extends SystemService {
|
||||
try {
|
||||
assistant.onAllowedAdjustmentsChanged();
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify assistant (capabilities): " + assistant, ex);
|
||||
Slog.e(TAG, "unable to notify assistant (capabilities): " + info, ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8278,7 +8278,7 @@ public class NotificationManagerService extends SystemService {
|
||||
try {
|
||||
assistant.onNotificationsSeen(keys);
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify assistant (seen): " + assistant, ex);
|
||||
Slog.e(TAG, "unable to notify assistant (seen): " + info, ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8584,7 +8584,7 @@ public class NotificationManagerService extends SystemService {
|
||||
listener.onStatusBarIconsBehaviorChanged(hideSilentStatusIcons);
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify listener "
|
||||
+ "(hideSilentStatusIcons): " + listener, ex);
|
||||
+ "(hideSilentStatusIcons): " + info, ex);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -8877,7 +8877,7 @@ public class NotificationManagerService extends SystemService {
|
||||
try {
|
||||
listener.onNotificationPosted(sbnHolder, rankingUpdate);
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify listener (posted): " + listener, ex);
|
||||
Slog.e(TAG, "unable to notify listener (posted): " + info, ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8891,7 +8891,7 @@ public class NotificationManagerService extends SystemService {
|
||||
try {
|
||||
listener.onNotificationRemoved(sbnHolder, rankingUpdate, stats, reason);
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify listener (removed): " + listener, ex);
|
||||
Slog.e(TAG, "unable to notify listener (removed): " + info, ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8901,7 +8901,7 @@ public class NotificationManagerService extends SystemService {
|
||||
try {
|
||||
listener.onNotificationRankingUpdate(rankingUpdate);
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify listener (ranking update): " + listener, ex);
|
||||
Slog.e(TAG, "unable to notify listener (ranking update): " + info, ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8910,7 +8910,7 @@ public class NotificationManagerService extends SystemService {
|
||||
try {
|
||||
listener.onListenerHintsChanged(hints);
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify listener (listener hints): " + listener, ex);
|
||||
Slog.e(TAG, "unable to notify listener (listener hints): " + info, ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8920,7 +8920,7 @@ public class NotificationManagerService extends SystemService {
|
||||
try {
|
||||
listener.onInterruptionFilterChanged(interruptionFilter);
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify listener (interruption filter): " + listener, ex);
|
||||
Slog.e(TAG, "unable to notify listener (interruption filter): " + info, ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8931,7 +8931,7 @@ public class NotificationManagerService extends SystemService {
|
||||
try {
|
||||
listener.onNotificationChannelModification(pkg, user, channel, modificationType);
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify listener (channel changed): " + listener, ex);
|
||||
Slog.e(TAG, "unable to notify listener (channel changed): " + info, ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8942,7 +8942,7 @@ public class NotificationManagerService extends SystemService {
|
||||
try {
|
||||
listener.onNotificationChannelGroupModification(pkg, user, group, modificationType);
|
||||
} catch (RemoteException ex) {
|
||||
Slog.e(TAG, "unable to notify listener (channel group changed): " + listener, ex);
|
||||
Slog.e(TAG, "unable to notify listener (channel group changed): " + info, ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user