Fix some documentation typos.
Change-Id: I0360d468d54d970c87f313e24e50965245206f28
(cherry picked from commit c502744f2d)
This commit is contained in:
@@ -457,7 +457,7 @@ public class BitmapFactory {
|
||||
*
|
||||
* @param res The resources object containing the image data
|
||||
* @param id The resource id of the image data
|
||||
* @return The decoded bitmap, or null if the image could not be decode.
|
||||
* @return The decoded bitmap, or null if the image could not be decoded.
|
||||
*/
|
||||
public static Bitmap decodeResource(Resources res, int id) {
|
||||
return decodeResource(res, id, null);
|
||||
@@ -505,7 +505,7 @@ public class BitmapFactory {
|
||||
* @param offset offset into imageData for where the decoder should begin
|
||||
* parsing.
|
||||
* @param length the number of bytes, beginning at offset, to parse
|
||||
* @return The decoded bitmap, or null if the image could not be decode.
|
||||
* @return The decoded bitmap, or null if the image could not be decoded.
|
||||
*/
|
||||
public static Bitmap decodeByteArray(byte[] data, int offset, int length) {
|
||||
return decodeByteArray(data, offset, length, null);
|
||||
|
||||
Reference in New Issue
Block a user