commit | d38e3531e4f13929a02feaaf05328b04f68a59c2 | [log] [tgz] |
---|---|---|
author | Kevin Jeon <kevinjeon@google.com> | Fri Oct 28 18:56:26 2022 +0000 |
committer | Kevin Jeon <kevinjeon@google.com> | Fri Oct 28 18:59:39 2022 +0000 |
tree | f4f49b7302b32d196337d2881e5bac96d1f254fe | |
parent | f7188dbd776da1be3396bf6ba9a1d89321a0ada0 [diff] |
Replace AsyncTask with an executor This change replaces AsyncTask with an executor because Async task is deprecated as of Android R (and [1] recommends using an executor directly). [1]: https://developer.android.com/reference/android/os/AsyncTask Test: Check that trace files are still cleared as expected. Bug: 227805529 Change-Id: I1775f4977104be899c737dee53a016dbe51de4b5