Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1e38a60 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Make IDispatchCompletionListener oneway

This doesn't need to be a synchronous binder call and an async call
should be faster.

Test: atest FrameworksUiServicesNotificationTests:ManagedServicesTest
Test: atest\
FrameworksUiServicesNotificationTests:NotificationListenerWrapperTest
Test: atest\
FrameworksUiServicesNotificationTests:NotificationListenersTest

Flag: EXEMPT AIDL interface change

Bug: 423428327
Change-Id: I67d827355410f535b303138b2bbcb70b17ea8393
parent c4a91c99
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -23,8 +23,9 @@ import android.os.IBinder;
 * event (by calling the corresponding NotificationListenerService API method on the main thread)
 * was completed or there was an error that resulted in no dispatch. This does not signal that the
 * app completed processing the event. It may still be doing that off the main thread.
 * {@hide}
 *
 * @hide
 */
interface IDispatchCompletionListener {
oneway interface IDispatchCompletionListener {
    void notifyDispatchComplete(in long dispatchToken);
}