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

Commit e80fa4e1 authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Simplify Context Hub Service transaction locking

This CL simplifies the locking scheme used in the ContextHubTransactionManager to avoid granular per-transaction locks to avoid potential race conditions (for example a response and a timeout occurring at the same time, triggering duplicate calls to transaction.setResponse).

Bug: 433459445
Flag: android.chre.flags.simplify_service_transaction_lock
Test: CHQTS pass

Change-Id: I8232b1ccb153df5639186d12b3c8ff77a00ffc6b
parent e63e0b7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment