summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ivan Chiang <chiangi@google.com> 2019-10-31 09:57:14 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-10-31 09:57:14 +0000
commit3bc64a128babe8f7471c9e4a73b76ebe3cc403bc (patch)
treee7a98c77412f272eca37630c28780621f871c6b6
parent0e7f5bbb0f9fa4295fb3422caddfbfc759cb7219 (diff)
parentc5c74e61be49853491eecb88fdc3aee92f005972 (diff)
Merge "Update java doc for correct rotation of thumbnail from Q"
-rw-r--r--core/java/android/provider/MediaStore.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/provider/MediaStore.java b/core/java/android/provider/MediaStore.java
index 4153831584e9..aa67d9779da4 100644
--- a/core/java/android/provider/MediaStore.java
+++ b/core/java/android/provider/MediaStore.java
@@ -2040,6 +2040,10 @@ public final class MediaStore {
* generated. Callers are responsible for their own in-memory
* caching of returned values.
*
+ * As of {@link android.os.Build.VERSION_CODES#Q}, this output
+ * of the thumbnail has correct rotation, don't need to rotate
+ * it again.
+ *
* @param imageId the image item to obtain a thumbnail for.
* @param kind optimal thumbnail size desired.
* @return decoded thumbnail, or {@code null} if problem was
@@ -2082,6 +2086,10 @@ public final class MediaStore {
* generated. Callers are responsible for their own in-memory
* caching of returned values.
*
+ * As of {@link android.os.Build.VERSION_CODES#Q}, this output
+ * of the thumbnail has correct rotation, don't need to rotate
+ * it again.
+ *
* @param imageId the image item to obtain a thumbnail for.
* @param kind optimal thumbnail size desired.
* @return decoded thumbnail, or {@code null} if problem was
@@ -2136,6 +2144,9 @@ public final class MediaStore {
* {@link ContentResolver#openFileDescriptor(Uri, String)} to gain
* access.
*
+ * As of {@link android.os.Build.VERSION_CODES#Q}, this thumbnail
+ * has correct rotation, don't need to rotate it again.
+ *
* @deprecated Apps may not have filesystem permissions to directly
* access this path. Instead of trying to open this path
* directly, apps should use