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

Commit f792c8cf authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

Add support for removeCallbacks in MockExecutorHandler

If the handler is constructed with a DelayableExecutor, it adds support
for cancelling runnables scheduled with postDelayed and postAtTime. It
has the same behavior as in Handler: calling it with a Runnable will
remove all pending instances of that runnable.

Test: atest MockExecutorHandlerTest
Bug: 339290820
Flag: NA

Change-Id: I47d68931ac9225efd3f1b6a211fe6475fcddaf06
parent b464f153
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