Fixing some typos
Bug: 37193704
Test: n/a
Change-Id: Ib81773fb062927c814dd7802dd53e5fcf25f8fd8
(cherry picked from commit d40d5aaadb674ac6541c4a24e3951fdd795da900)
diff --git a/compat/java/android/support/v4/os/BuildCompat.java b/compat/java/android/support/v4/os/BuildCompat.java
index 4977d18..2bfd907 100644
--- a/compat/java/android/support/v4/os/BuildCompat.java
+++ b/compat/java/android/support/v4/os/BuildCompat.java
@@ -71,10 +71,11 @@
* Checks if the device is running on a pre-release version of Android O MR1 or newer.
* <p>
* <strong>Note:</strong> This method will return {@code false} on devices running release
- * versions of Android. When Android O is finalized for release, this method will be deprecated
- * and all calls should be replaced with {@code Build.SDK_INT >= Build.VERSION_CODES#O_MR1}.
+ * versions of Android. When Android O MR1 is finalized for release, this method will be
+ * deprecated and all calls should be replaced with
+ * {@code Build.SDK_INT >= Build.VERSION_CODES#O_MR1}.
*
- * @return {@code true} if O APIs are available for use, {@code false} otherwise
+ * @return {@code true} if O MR1 APIs are available for use, {@code false} otherwise
*/
public static boolean isAtLeastOMR1() {
return VERSION.CODENAME.startsWith("OMR")
@@ -88,7 +89,7 @@
* versions of Android. When Android P is finalized for release, this method will be deprecated
* and all calls should be replaced with {@code Build.SDK_INT >= Build.VERSION_CODES#P}.
*
- * @return {@code true} if O APIs are available for use, {@code false} otherwise
+ * @return {@code true} if P APIs are available for use, {@code false} otherwise
*/
public static boolean isAtLeastP() {
return VERSION.CODENAME.equals("P");