summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Fabián Kozynski <kozynski@google.com> 2024-05-13 10:41:26 -0400
committer Fabián Kozynski <kozynski@google.com> 2024-05-13 10:41:26 -0400
commitf792c8cf2c6bab8ae38f7964c5bedc7b657d12b8 (patch)
tree06833ce40c5befa91bac721f37c2e66a5b3b0b28 /libs/androidfw/FileStream.cpp
parentb464f1531aa0a0bf954e5d335d3d31d677a9c38d (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions