Android: moving CardUnmaskPrompt Calendar creation to thread pool

Currently, AsyncTask.execute() defaults to the SERIAL_EXECUTOR. This
exector is good for preventing concurrency errors since it guarantees
serial execution, but bad for performance since the entire app shares
this single queue.

It looks like this callsite can use the THREAD_POOL_EXECUTOR instead,
since this use doesn't appear to rely on the concurrency guarantees that
SERIAL_EXECUTOR provides.

Bug: 869907
Change-Id: Ied05df42799c3b643f61d2db6abaec65d53b110c
Reviewed-on: https://chromium-review.googlesource.com/1158992
Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org>
Commit-Queue: Sam Maier <smaier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579933}
1 file changed