summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-02-23 00:44:19 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-02-23 01:46:56 +0800
commit819b63c644831bb65e8f18f11591fdb58745c424 (patch)
tree1ddd5ff636af811649889064afdef9af8937cc4f /api/api_test.go
parent99db8bd98ee7f7e497fc795d37fc0b77095b793e (diff)
Eliminate acquiring WM lock when bind/unbind service
There were lock contention between AM and WM when an activity binds/unbinds service from: - Associate the connection to the activity - Add connection - Remove connection when WM is running layout/animation or updating config. This change applies: - Use a separated lock to manage the connection. - Cache the visible state for BIND_ADJUST_WITH_ACTIVITY. to eliminate the lock contention. Bug: 263755904 Bug: 204870457 Test: ActivityRecordTests#testActivityServiceConnectionsHolder Change-Id: Id5b7862866180064cb8ec863cd9cd6ccebdaea1e
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions