From 511cd35fcc0b8ab048f284a6af374de8ccc69865 Mon Sep 17 00:00:00 2001
From: Jeff Brown
Date: Fri, 23 Aug 2013 17:43:37 -0700
Subject: [PATCH] Docs changes pursuant to API review feedback.
Change-Id: I74c51791192f7fefad4e299d25c91438cbf6ab73
---
core/java/android/content/Context.java | 2 +-
core/java/android/content/Intent.java | 2 +-
core/java/android/database/Cursor.java | 5 ++++-
core/java/android/hardware/display/DisplayManager.java | 8 +++-----
core/res/AndroidManifest.xml | 8 ++++----
5 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index ff81f726962cc..cd1f87b5f2b44 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -2375,7 +2375,7 @@ public abstract class Context {
/**
* {@link android.print.PrintManager} for printing and managing
- * printers and print taks.
+ * printers and print tasks.
*
* @see #getSystemService
* @see android.print.PrintManager
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index be13620594941..c99f09c44ed03 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -1193,7 +1193,7 @@ public class Intent implements Parcelable, Cloneable {
/**
* An optional field on {@link #ACTION_ASSIST} and {@link #ACTION_VOICE_ASSIST}
- * containing an the names of the application package of foreground services at the time
+ * containing the application package names of foreground services at the time
* of the assist request. This is an array of {@link String}s, with one entry
* per service.
*/
diff --git a/core/java/android/database/Cursor.java b/core/java/android/database/Cursor.java
index 7381e2c403dfa..fc2a885202170 100644
--- a/core/java/android/database/Cursor.java
+++ b/core/java/android/database/Cursor.java
@@ -25,9 +25,12 @@ import java.io.Closeable;
/**
* This interface provides random read-write access to the result set returned
* by a database query.
- *
+ *
* Cursor implementations are not required to be synchronized so code using a Cursor from multiple
* threads should perform its own synchronization when using the Cursor.
+ *
+ * Implementations should subclass {@link AbstractCursor}.
+ *
*/
public interface Cursor extends Closeable {
/*
diff --git a/core/java/android/hardware/display/DisplayManager.java b/core/java/android/hardware/display/DisplayManager.java
index 0071865d6e314..f12be5f404a9a 100644
--- a/core/java/android/hardware/display/DisplayManager.java
+++ b/core/java/android/hardware/display/DisplayManager.java
@@ -74,8 +74,7 @@ public final class DisplayManager {
* richer second screen experiences.
*
*
- * @see android.app.Presentation for information about presenting content
- * on secondary displays.
+ * @see android.app.Presentation
* @see Display#FLAG_PRESENTATION
* @see #getDisplays(String)
*/
@@ -138,8 +137,7 @@ public final class DisplayManager {
* more special-purpose displays.
*
*
- * @see android.app.Presentation for information about presenting content
- * on secondary displays.
+ * @see android.app.Presentation
* @see #createVirtualDisplay
* @see #DISPLAY_CATEGORY_PRESENTATION
* @see Display#FLAG_PRESENTATION
@@ -168,7 +166,7 @@ public final class DisplayManager {
* The content of secure windows will be blanked if shown on this display.
*
*
- * @see Display#FLAG_SECURE for information about secure displays.
+ * @see Display#FLAG_SECURE
* @see #createVirtualDisplay
*/
public static final int VIRTUAL_DISPLAY_FLAG_SECURE = 1 << 2;
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 0d1ace814a1d0..faf6e63ecfefb 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -1900,14 +1900,14 @@
android:description="@string/permdesc_bindAccessibilityService"
android:protectionLevel="signature" />
-
-
-
+ Not for use by third-party applications. -->