summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorScott Kennedy <skennedy@google.com>2013-01-14 11:19:13 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-01-14 11:19:13 -0800
commit57b59e025bc10056daf42cd741b626843ff344f5 (patch)
tree19040e43e7c52a874c9210324ba6a10de9180fb4 /core/java
parentf0b57e615d61207728fb4a6b57944e3b51eb9678 (diff)
parentaebeea4cf39acae833b1b7f27a4c08d3b55dee37 (diff)
downloadframeworks_base-57b59e025bc10056daf42cd741b626843ff344f5.zip
frameworks_base-57b59e025bc10056daf42cd741b626843ff344f5.tar.gz
frameworks_base-57b59e025bc10056daf42cd741b626843ff344f5.tar.bz2
am aebeea4c: am 5d6d6aab: am 8e45679a: am 026f9191: am 08342698: Merge "docs: Fix a bunch of issues" into jb-mr1-dev
* commit 'aebeea4cf39acae833b1b7f27a4c08d3b55dee37': docs: Fix a bunch of issues
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/AlertDialog.java2
-rw-r--r--core/java/android/app/admin/DeviceAdminInfo.java4
-rw-r--r--core/java/android/content/BroadcastReceiver.java2
-rw-r--r--core/java/android/hardware/SensorEventListener.java2
-rw-r--r--core/java/android/provider/ContactsContract.java3
-rw-r--r--core/java/android/widget/PopupWindow.java2
6 files changed, 8 insertions, 7 deletions
diff --git a/core/java/android/app/AlertDialog.java b/core/java/android/app/AlertDialog.java
index 6ab2bd1..10d5e25 100644
--- a/core/java/android/app/AlertDialog.java
+++ b/core/java/android/app/AlertDialog.java
@@ -90,7 +90,7 @@ public class AlertDialog extends Dialog implements DialogInterface {
/**
* Special theme constant for {@link #AlertDialog(Context, int)}: use
- * the device's default alert theme with a dark background.
+ * the device's default alert theme with a light background.
*/
public static final int THEME_DEVICE_DEFAULT_LIGHT = 5;
diff --git a/core/java/android/app/admin/DeviceAdminInfo.java b/core/java/android/app/admin/DeviceAdminInfo.java
index b351811..66fc816 100644
--- a/core/java/android/app/admin/DeviceAdminInfo.java
+++ b/core/java/android/app/admin/DeviceAdminInfo.java
@@ -139,9 +139,9 @@ public final class DeviceAdminInfo implements Parcelable {
public static final int USES_POLICY_DISABLE_CAMERA = 8;
/**
- * A type of policy that this device admin can use: disables use of keyguard widgets.
+ * A type of policy that this device admin can use: disables use of keyguard features.
*
- * <p>To control this policy, the device admin must have a "disable-keyguard-widgets"
+ * <p>To control this policy, the device admin must have a "disable-keyguard-features"
* tag in the "uses-policies" section of its meta-data.
*/
public static final int USES_POLICY_DISABLE_KEYGUARD_FEATURES = 9;
diff --git a/core/java/android/content/BroadcastReceiver.java b/core/java/android/content/BroadcastReceiver.java
index 1500b00..4f42d50 100644
--- a/core/java/android/content/BroadcastReceiver.java
+++ b/core/java/android/content/BroadcastReceiver.java
@@ -117,7 +117,7 @@ import android.util.Slog;
*
* <ul>
* <li><p>The Intent namespace is global. Make sure that Intent action names and
- * other strings are written in a namespace you own, or else you may inadvertantly
+ * other strings are written in a namespace you own, or else you may inadvertently
* conflict with other applications.
* <li><p>When you use {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)},
* <em>any</em> application may send broadcasts to that registered receiver. You can
diff --git a/core/java/android/hardware/SensorEventListener.java b/core/java/android/hardware/SensorEventListener.java
index 716d0d4..677d244 100644
--- a/core/java/android/hardware/SensorEventListener.java
+++ b/core/java/android/hardware/SensorEventListener.java
@@ -30,7 +30,7 @@ public interface SensorEventListener {
*
* <p><b>NOTE:</b> The application doesn't own the
* {@link android.hardware.SensorEvent event}
- * object passed as a parameter and therefore cannot hold on o it.
+ * object passed as a parameter and therefore cannot hold on to it.
* The object may be part of an internal pool and may be reused by
* the framework.
*
diff --git a/core/java/android/provider/ContactsContract.java b/core/java/android/provider/ContactsContract.java
index 5b49ba3..8f54a38 100644
--- a/core/java/android/provider/ContactsContract.java
+++ b/core/java/android/provider/ContactsContract.java
@@ -4695,7 +4695,8 @@ public final class ContactsContract {
* The content:// style URI for this table. Append the phone number you want to lookup
* to this URI and query it to perform a lookup. For example:
* <pre>
- * Uri lookupUri = Uri.withAppendedPath(PhoneLookup.CONTENT_URI, Uri.encode(phoneNumber));
+ * Uri lookupUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI,
+ * Uri.encode(phoneNumber));
* </pre>
*/
public static final Uri CONTENT_FILTER_URI = Uri.withAppendedPath(AUTHORITY_URI,
diff --git a/core/java/android/widget/PopupWindow.java b/core/java/android/widget/PopupWindow.java
index b71649a..1460737 100644
--- a/core/java/android/widget/PopupWindow.java
+++ b/core/java/android/widget/PopupWindow.java
@@ -42,7 +42,7 @@ import java.lang.ref.WeakReference;
/**
* <p>A popup window that can be used to display an arbitrary view. The popup
- * windows is a floating container that appears on top of the current
+ * window is a floating container that appears on top of the current
* activity.</p>
*
* @see android.widget.AutoCompleteTextView