Loading core/java/android/provider/MediaStore.java +11 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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 Loading Loading @@ -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 Loading Loading
core/java/android/provider/MediaStore.java +11 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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 Loading Loading @@ -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 Loading