Skip to content
Commit 0003ce7a authored by Naomi Musgrave's avatar Naomi Musgrave
Browse files

[MediaProjection] Address deadlock between multiple services

Below outlines acceptable lock ordering:
* WindowManagerService -> MediaProjectionManagerService
* ActivityManagerService -> WindowManagerService

This change addresses deadlock caused by
MediaProjectionManagerService -> ActivityManagerService by
ensuring that MPMS -> AMS is never done while holding the
MPMS lock.

Bug: 291826358
Test: Manual & asking partner to validate monkey test
Change-Id: I63037ea099699ac9dba87086ea8caf0082e0c721
Merged-In: I9c21acf069c66f1ade22c49b095ad5339fe13eca
parent 05189c12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment