Revert "Use precompute executer"

This reverts commit fa43ffa082.
This commit is contained in:
M66B
2020-02-11 08:11:08 +01:00
parent ae51ac3873
commit 82b9ac8add
2 changed files with 2 additions and 8 deletions

View File

@@ -244,8 +244,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
private static final ExecutorService executor =
Helper.getBackgroundExecutor(2, "differ");
private static final ExecutorService precompute =
Helper.getBackgroundExecutor(1, "precompute");
// https://github.com/newhouse/url-tracking-stripper
private static final List<String> PARANOID_QUERY = Collections.unmodifiableList(Arrays.asList(
@@ -1813,7 +1811,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
return PrecomputedTextCompat.getTextFuture(
builder,
TextViewCompat.getTextMetricsParams(tvBody),
precompute)
executor)
.get();
} catch (Throwable ex) {
Log.w(ex);