Make StatusBarService.clearNotificationEffects oneway

This doesn't need to be blocking (as far as me and a colleague can tell)
and was causing ANRs.

Bug: 204160836
Test: tbd
Change-Id: I16f7e20ddbcdb7546038273aede545a920fce87e
(cherry picked from commit 340cf6fdad)
This commit is contained in:
Julia Tuttle
2022-03-03 17:03:25 -05:00
committed by Lucas Dupin
parent 2cb1f3534f
commit 6c56b7dea8

View File

@@ -70,7 +70,7 @@ interface IStatusBarService
void onPanelRevealed(boolean clearNotificationEffects, int numItems);
void onPanelHidden();
// Mark current notifications as "seen" and stop ringing, vibrating, blinking.
void clearNotificationEffects();
oneway void clearNotificationEffects();
void onNotificationClick(String key, in NotificationVisibility nv);
void onNotificationActionClick(String key, int actionIndex, in Notification.Action action, in NotificationVisibility nv, boolean generatedByAssistant);
void onNotificationError(String pkg, String tag, int id,