Commit 57519c06 authored by Sam Maier's avatar Sam Maier Committed by Commit Bot

Android: changed name of threads created in AsyncTask

This is to give better visibility of the threads which are Chrome's and
threads which are Android's.

Bug: 843745
Change-Id: Ie7f75cb915e70b13ef8957f7320d93d890f23a18
Reviewed-on: https://chromium-review.googlesource.com/1158398Reviewed-by: default avatarRichard Coles <torne@chromium.org>
Reviewed-by: default avatarPeter Wen <wnwen@chromium.org>
Commit-Queue: Sam Maier <smaier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579828}
parent 0d6e36c0
...@@ -204,7 +204,7 @@ public abstract class AsyncTask<Params, Progress, Result> { ...@@ -204,7 +204,7 @@ public abstract class AsyncTask<Params, Progress, Result> {
@Override @Override
public Thread newThread(Runnable r) { public Thread newThread(Runnable r) {
return new Thread(r, "AsyncTask #" + mCount.getAndIncrement()); return new Thread(r, "CrAsyncTask #" + mCount.getAndIncrement());
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment