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

Skip to content
Commit f5d491ca authored by John Bates's avatar John Bates Committed by Jiwen Cai
Browse files

Workaround missing OnChannelClose for DisplayManagerService

After several doff/don cycles in a stress test, DisplayManagerService
eventually got into a state where it would not allow new connections
despite the old connection being long gone. We confirmed that it
had a display_manager_ pointer set when it should not have, which
means there was a missing OnChannelClose for probably some error
case that directly closed the channel without synthesizing the close.

Those cases should be fixed in followup CLs, but this change will
be helpful to guarantee Display Manager Service continues to operate
regardless. This service is uniquely sensitive to this bug.

Bug: 69004445
Test: Continuously doffed and donned with script
Change-Id: I46c47da38f1024b61dad0f6c19c64aeec53015a6
(cherry picked from commit 8dbbe5584b2fb9589fceed81333a0d5ff6c913a3)
parent 9d8d52b6
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