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

Commit 6e008806 authored by Toshiki Kikuchi's avatar Toshiki Kikuchi
Browse files

Do not assume DisplayNotificationController is thread-safe

This CL makes WM to use DisplayNotificationController thread-safely by
- changes to call dispatchDesktopModeEligibleChanged with the
global lock.
- hold the global lock to [un]register listeners

Flag: com.android.server.display.feature.flags.enable_display_content_mode_management
Test: ActivityTaskManagerServiceTests
Bug: 406462760
Change-Id: I5ac1b2a232cef14b820407bb4ec5dcc005466ae7
parent 01883486
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