Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f64ad28f authored by kmccormick's avatar kmccormick Committed by Android Git Automerger
Browse files

am 15ebf622: am f614d536: am e4922f28: Merge "Doc update: clean up text and...

am 15ebf622: am f614d536: am e4922f28: Merge "Doc update: clean up text and code snippets" into jb-mr1.1-docs

* commit '15ebf622':
  Doc update: clean up text and code snippets
parents 8f662f12 15ebf622
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ public class HttpExampleActivity extends Activity {
            getSystemService(Context.CONNECTIVITY_SERVICE);
        NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
        if (networkInfo != null && networkInfo.isConnected()) {
            new DownloadWebpageText().execute(stringUrl);
            new DownloadWebpageTask().execute(stringUrl);
        } else {
            textView.setText("No network connection available.");
        }
@@ -147,7 +147,7 @@ public class HttpExampleActivity extends Activity {
     // has been established, the AsyncTask downloads the contents of the webpage as
     // an InputStream. Finally, the InputStream is converted into a string, which is
     // displayed in the UI by the AsyncTask's onPostExecute method.
     private class DownloadWebpageText extends AsyncTask<String, Void, String> {
     private class DownloadWebpageTask extends AsyncTask&lt;String, Void, String&gt; {
        &#64;Override
        protected String doInBackground(String... urls) {