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

Skip to content
Commit 2b551e71 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Fix ProximityCheck so that re-entrant check calls callback.

This is a followup for I9083d6e87ad199099c117f00dcdc9e7e811435f5.
The test for re-entrant `check` calls, demonstrated that the original CL fixed the ConcurrentModificationException, but also that the check() callback was never invoked. Unregistering before the foreach fixes that.

Test: atest ProximityCheckTest
Flag: EXEMPT bugfix
Bug: 354293532
Change-Id: If4f6d0bd072b0aecf49e8b0e19e358a5a34409a4
parent c9a43de0
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