Skip to content
Commit da86336b authored by Cody Kesting's avatar Cody Kesting
Browse files

Remove use of locks in VcnGatewayConnection.

This CL updates VcnGatewayConnection to not use locking for accesses to
its TelephonySubscriptionSnapshot field. Instead, it will verify that
the caller is running on the VCN-Looper. Because VcnGatewayConnection
also runs on the VCN-Looper, this check guarantees that accesses to that
field are safe even when not explicitly in a Handler event.

Bug: 177364490
Test: atest FrameworksVcnTests
Change-Id: I128a894cead739b88a77e37f4d829d33f6bfb26a
parent 204a2fed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment