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

Commit 480785da authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am fd516987: docs: misc bugs from external tracker

* commit 'fd516987':
  docs: misc bugs from external tracker
parents 7b5488d8 fd516987
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ import java.io.PrintWriter;
 *
 * <p>DialogFragment needs to ensure that what is happening with the Fragment
 * and Dialog states remains consistent.  To do this, it watches for dismiss
 * events from the dialog and takes are of removing its own state when they
 * events from the dialog and takes care of removing its own state when they
 * happen.  This means you should use {@link #show(FragmentManager, String)}
 * or {@link #show(FragmentTransaction, String)} to add an instance of
 * DialogFragment to your UI, as these keep track of how DialogFragment should
+2 −2
Original line number Diff line number Diff line
@@ -654,8 +654,8 @@ category:
</p>

<pre>&lt;intent-filter . . . &gt;
    &lt;action android:name="code android.intent.action.MAIN" /&gt;
    &lt;category android:name="code android.intent.category.LAUNCHER" /&gt;
    &lt;action android:name="android.intent.action.MAIN" /&gt;
    &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
&lt;/intent-filter&gt;</pre>


+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ TimePicker</a></li>

<p>A dialog is usually a small window that appears in front of the current Activity.
The underlying Activity loses focus and the dialog accepts all user interaction. Dialogs are
normally used for notifications that should interupt the user and to perform short tasks that
normally used for notifications that should interrupt the user and to perform short tasks that
directly relate to the application in progress (such as a progress bar or a login prompt).</p>

<p>The {@link android.app.Dialog} class is the base class for creating dialogs. However, you
+1 −697

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ emailIntent.setType(HTTP.PLAIN_TEXT_TYPE);
emailIntent.putExtra(Intent.EXTRA_EMAIL, new String[] {"jon@example.com"}); // recipients
emailIntent.putExtra(Intent.EXTRA_SUBJECT, "Email subject");
emailIntent.putExtra(Intent.EXTRA_TEXT, "Email message text");
emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("content://path/to/email/attachment");
emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("content://path/to/email/attachment"));
// You can also attach multiple items by passing an ArrayList of Uris
</pre>
  </li>
Loading