Skip to content

Conversation

@temawi
Copy link
Contributor

@temawi temawi commented Jun 25, 2023

Instead of the deprecated Android AsyncTask, let's use the standard Java concurrency library with a Callable and an ExecutorService.

Fixes #10298

temawi added 3 commits June 25, 2023 14:25
Instead of the deprecated Android AsyncTask, let's use the standard
Java concurrency library with a Callable and an ExecutorService.
@temawi temawi requested a review from ejona86 June 26, 2023 05:06
Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TesterActivity now blocks the UI thread during the test. The other cases were doing the same, but they were also only really used for automated tests. The TesterActivity can be used by a human. But this is fine and we can improve it later if need be.

@temawi temawi merged commit f3399e3 into grpc:master Jun 26, 2023
@temawi temawi deleted the android-interop-callable branch June 26, 2023 20:32
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android's AsyncTask is deprecated

2 participants