Merge "Unhide ExifThumbnail.getThumbnailRange() and make it match the comment." into nyc-dev am: e1d0cab
am: f2c62df
* commit 'f2c62df0365c23357bed8178e7651908a730c782':
Unhide ExifThumbnail.getThumbnailRange() and make it match the comment.
Change-Id: I59b4cb74bacbafc22a7e0305813a039d132f65bd
This commit is contained in:
@@ -1079,12 +1079,16 @@ public class ExifInterface {
|
||||
*
|
||||
* @return two-element array, the offset in the first value, and length in
|
||||
* the second, or {@code null} if no thumbnail was found.
|
||||
* @hide
|
||||
*/
|
||||
public long[] getThumbnailRange() {
|
||||
if (!mHasThumbnail) {
|
||||
return null;
|
||||
}
|
||||
|
||||
long[] range = new long[2];
|
||||
range[0] = mThumbnailOffset;
|
||||
range[1] = mThumbnailLength;
|
||||
|
||||
return range;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user