Skip to content

Conversation

@jdcormie
Copy link
Member

@jdcormie jdcormie commented Oct 2, 2025

Adds support for android:isolatedProcess Services (fixing #12293) and moves all security checks to the handshake, making subsequent transactions more efficient.

@jdcormie jdcormie changed the title Isolated process 3 binder: Introduce server authorization strategy v2 Oct 2, 2025
@jdcormie jdcormie force-pushed the isolated-process-3 branch 2 times, most recently from 0b2d07f to 8d33b26 Compare October 18, 2025 06:37
Moves the existing handshake logic behind an interface using the
strategy pattern. No functional change.
Adds support for android:isolatedProcess Services (fixing grpc#12293) and
moves all peer authorization checks to the handshake, allowing
subsequent transactions to go unchecked.
jdcormie added a commit that referenced this pull request Oct 27, 2025
…12445)

Avoids waiting for the handshake timeout on the server side in this
case.

I also add test coverage for the `!setOutgoingBinder()` case to make
sure it works in the new location.

My ulterior motive for this change is simplifying the client handshake
code in preparation for #12398 -- An (impossible) !isShutdown() clause
goes away for easy to understand reasons and I'll no longer have to pass
the server's binder as an arg from async function to function in two
separate handshake impls.

Fixes #12438
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant