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

Skip to content
Commit beb94220 authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Make MR2ProviderServiceProxy take looper by param

The functionality doesn't change, because the calling function is
already running on the looper that the constructor gets. But this may
save someone from being bitten by the call to myLooper in the future.

Note that we avoid sharing the handler instance. Otherwise, one class
could inadvertently remove a message posted by the other class. And
sharing it would mean this change is no longer non-functional.

Bug: b/205124386
Test: Added logs to verify that myLooper was already the MediaRouterService looper thread.
Flag: EXEMPT refactor
Change-Id: Ia7f8dd472caa97162e61c28f56ef7e5fa8659309
parent 26724a4c
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