From b8200accbf7cb84db6041a14eca2583e620de28a Mon Sep 17 00:00:00 2001 From: sreevanis Date: Tue, 3 Nov 2015 14:41:05 -0800 Subject: [PATCH] docs: Fixed typo. Bug: 25359870 Change-Id: Ie0108bcb63928521e7dedeaccbe1617ee54c4f68 --- docs/html/training/articles/perf-anr.jd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/html/training/articles/perf-anr.jd b/docs/html/training/articles/perf-anr.jd index 1fd56eeda5586..bbebec5a83e10 100644 --- a/docs/html/training/articles/perf-anr.jd +++ b/docs/html/training/articles/perf-anr.jd @@ -91,7 +91,7 @@ or database operations, or computationally expensive calculations such as resizing bitmaps should be done in a worker thread (or in the case of databases operations, via an asynchronous request).

-

The most effecive way to create a worker thread for longer +

The most effective way to create a worker thread for longer operations is with the {@link android.os.AsyncTask} class. Simply extend {@link android.os.AsyncTask} and implement the {@link android.os.AsyncTask#doInBackground doInBackground()} method to perform the work.