From 5fb97fe9ba5eb985779e67355d3706cb0db0ffb6 Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Wed, 29 Apr 2015 14:37:22 -0700 Subject: [PATCH] docs: Minor formatting cleanup. Code sample had an overlong line, which caused a horizontal scroll- bar in the generated doc. Change-Id: I55b0318049be9e4ff473bdc739bb8265ca2da248 --- docs/html/guide/components/processes-and-threads.jd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/html/guide/components/processes-and-threads.jd b/docs/html/guide/components/processes-and-threads.jd index e7ef7ba3fa10e..10a641000a1fa 100644 --- a/docs/html/guide/components/processes-and-threads.jd +++ b/docs/html/guide/components/processes-and-threads.jd @@ -274,7 +274,8 @@ android.view.View#post(java.lang.Runnable) View.post(Runnable)} method:

public void onClick(View v) { new Thread(new Runnable() { public void run() { - final Bitmap bitmap = loadImageFromNetwork("http://example.com/image.png"); + final Bitmap bitmap = + loadImageFromNetwork("http://example.com/image.png"); mImageView.post(new Runnable() { public void run() { mImageView.setImageBitmap(bitmap); @@ -323,7 +324,7 @@ private class DownloadImageTask extends AsyncTask<String, Void, Bitmap> { protected Bitmap doInBackground(String... urls) { return loadImageFromNetwork(urls[0]); } - + /** The system calls this to perform work in the UI thread and delivers * the result from doInBackground() */ protected void onPostExecute(Bitmap result) {