docs: fixed a couple of typos
Test: make ds-docs
Bug: 36948822
Bug: 36946883
Change-Id: I4de699dc7d5a69e456b0656de890f76b9787aafa
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index c349ab3..060b5d8 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -414,7 +414,7 @@
* 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
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 39dd964..c863fe0 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -264,8 +264,8 @@
* </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 a 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> <manifest xmlns:android="http://schemas.android.com/apk/res/android"