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

Skip to content
Commit b524d449 authored by Naomi Musgrave's avatar Naomi Musgrave Committed by Android Build Coastguard Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0003ce7a48a148f3f4b842e473d9ff8854af281d)
Merged-In: I63037ea099699ac9dba87086ea8caf0082e0c721
Change-Id: I63037ea099699ac9dba87086ea8caf0082e0c721
parent d584565f
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