Skip to content

Commit 5703688

Browse files
committed
Annotate LSOWB
1 parent 1c93bcc commit 5703688

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

binder/src/main/java/io/grpc/binder/internal/LeakSafeOneWayBinder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import android.os.Binder;
2020
import android.os.IBinder;
2121
import android.os.Parcel;
22+
import androidx.annotation.BinderThread;
2223
import io.grpc.Internal;
2324
import java.util.logging.Level;
2425
import java.util.logging.Logger;
@@ -58,6 +59,7 @@ public interface TransactionHandler {
5859
* @return the value to return from {@link Binder#onTransact}. NB: "oneway" semantics mean this
5960
* result will not delivered to the caller of {@link IBinder#transact}
6061
*/
62+
@BinderThread
6163
boolean handleTransaction(int code, Parcel data);
6264
}
6365

0 commit comments

Comments
 (0)