summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatie McCormick <kmccormick@google.com>2013-12-02 12:37:58 -0800
committerKatie McCormick <kmccormick@google.com>2013-12-02 12:37:58 -0800
commitd786a1900e94c4f0c919b50b44667cea32fd2939 (patch)
treede79d8d23967927e2fcdc944189e0fe6a0b8ddc8
parent866dbc9a73eb18bc47fe2f45c40bbb753b26d27e (diff)
parent37e4c405a6136f90e5a8d4fc512cf7f551eb0c56 (diff)
downloadframeworks_base-d786a1900e94c4f0c919b50b44667cea32fd2939.zip
frameworks_base-d786a1900e94c4f0c919b50b44667cea32fd2939.tar.gz
frameworks_base-d786a1900e94c4f0c919b50b44667cea32fd2939.tar.bz2
resolved conflicts for merge of 37e4c405 to master
Change-Id: I7df89be84384369ef5e89bb3b924ca38c1b5d9bd
-rw-r--r--core/java/android/app/PendingIntent.java4
-rw-r--r--core/java/android/hardware/SensorManager.java4
-rw-r--r--core/java/android/widget/ShareActionProvider.java2
-rw-r--r--graphics/java/android/graphics/ColorMatrix.java4
4 files changed, 7 insertions, 7 deletions
diff --git a/core/java/android/app/PendingIntent.java b/core/java/android/app/PendingIntent.java
index a03e5b6..29885e7 100644
--- a/core/java/android/app/PendingIntent.java
+++ b/core/java/android/app/PendingIntent.java
@@ -122,8 +122,8 @@ public final class PendingIntent implements Parcelable {
public static final int FLAG_ONE_SHOT = 1<<30;
/**
* Flag for use with {@link #getActivity}, {@link #getBroadcast}, and
- * {@link #getService}: if the described PendingIntent does not already
- * exist, then simply return null instead of creating it.
+ * {@link #getService}: if the described PendingIntent already exists,
+ * then simply return null instead of creating it.
*/
public static final int FLAG_NO_CREATE = 1<<29;
/**
diff --git a/core/java/android/hardware/SensorManager.java b/core/java/android/hardware/SensorManager.java
index b931313..8c23129 100644
--- a/core/java/android/hardware/SensorManager.java
+++ b/core/java/android/hardware/SensorManager.java
@@ -1056,8 +1056,8 @@ public abstract class SensorManager {
* is mapped.
*
* @param outR
- * the transformed rotation matrix. inR and outR can be the same
- * array, but it is not recommended for performance reason.
+ * the transformed rotation matrix. inR and outR should not be the same
+ * array.
*
* @return <code>true</code> on success. <code>false</code> if the input
* parameters are incorrect, for instance if X and Y define the same
diff --git a/core/java/android/widget/ShareActionProvider.java b/core/java/android/widget/ShareActionProvider.java
index 62afd2e..bdaaa01 100644
--- a/core/java/android/widget/ShareActionProvider.java
+++ b/core/java/android/widget/ShareActionProvider.java
@@ -266,7 +266,7 @@ public class ShareActionProvider extends ActionProvider {
* Intent shareIntent = new Intent(Intent.ACTION_SEND);
* shareIntent.setType("image/*");
* Uri uri = Uri.fromFile(new File(getFilesDir(), "foo.jpg"));
- * shareIntent.putExtra(Intent.EXTRA_STREAM, uri.toString());</pre>
+ * shareIntent.putExtra(Intent.EXTRA_STREAM, uri));</pre>
*
* @param shareIntent The share intent.
*
diff --git a/graphics/java/android/graphics/ColorMatrix.java b/graphics/java/android/graphics/ColorMatrix.java
index 0ef037d..1242eb5 100644
--- a/graphics/java/android/graphics/ColorMatrix.java
+++ b/graphics/java/android/graphics/ColorMatrix.java
@@ -21,8 +21,8 @@ import android.util.FloatMath;
import java.util.Arrays;
/**
- * 5x4 matrix for transforming the color+alpha components of a Bitmap.
- * The matrix is stored in a single array, and its treated as follows:
+ * 4x5 matrix for transforming the color+alpha components of a Bitmap.
+ * The matrix is stored in a single array, and its treated as follows:
* <pre>
* [ a, b, c, d, e,
* f, g, h, i, j,