OSDN Git Service

docs: fixed a couple of typos
authorJoshua Baxter <jbax@google.com>
Tue, 27 Mar 2018 21:42:03 +0000 (14:42 -0700)
committerJoshua Baxter <jbax@google.com>
Tue, 27 Mar 2018 21:44:55 +0000 (21:44 +0000)
Test: make ds-docs

Bug: 36948822
Bug: 36946883

Change-Id: I4de699dc7d5a69e456b0656de890f76b9787aafa

core/java/android/app/Activity.java
core/java/android/content/Intent.java

index c349ab3..060b5d8 100644 (file)
@@ -414,7 +414,7 @@ import java.util.List;
  * vs. those targeting prior platforms.  Starting with Honeycomb, an application
  * is not in the killable state until its {@link #onStop} has returned.  This
  * impacts when {@link #onSaveInstanceState(Bundle)} may be called (it may be
- * safely called after {@link #onPause()} and allows and application to safely
+ * safely called after {@link #onPause()}) and allows an application to safely
  * wait until {@link #onStop()} to save persistent state.</p>
  *
  * <p>For those methods that are not marked as being killable, the activity's
index 39dd964..c863fe0 100644 (file)
@@ -264,8 +264,8 @@ import java.util.Set;
  * </ul>
  *
  * <p>For example, consider the Note Pad sample application that
- * allows user to browse through a list of notes data and view details about
- * individual items.  Text in italics indicate places were you would replace a
+ * allows user to browse through a list of notes data and view details about
+ * individual items.  Text in italics indicates places where you would replace a
  * name with one specific to your own package.</p>
  *
  * <pre> &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"