diff options
author | 2019-02-28 22:50:24 +0000 | |
---|---|---|
committer | 2019-02-28 22:50:24 +0000 | |
commit | 8d6a8c5626243ba02c72b46f2bf016eabbde5643 (patch) | |
tree | 9d326b9573c836ae54ffd6471ebccef769ac5aae /graphics/java | |
parent | 68d8e946eed760e8d97146a696e1d6d2a915530d (diff) | |
parent | 0dd9dd84bbf97e1ddf20f375e81191fc70fcf95b (diff) |
Merge "Mark Bitmap#getColor as @NonNull"
Diffstat (limited to 'graphics/java')
-rw-r--r-- | graphics/java/android/graphics/Bitmap.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/Bitmap.java b/graphics/java/android/graphics/Bitmap.java index 920fb4cffbca..c064402f8345 100644 --- a/graphics/java/android/graphics/Bitmap.java +++ b/graphics/java/android/graphics/Bitmap.java @@ -1845,6 +1845,7 @@ public final class Bitmap implements Parcelable { * @throws IllegalStateException if the bitmap's config is {@link Config#HARDWARE} * */ + @NonNull public Color getColor(int x, int y) { checkRecycled("Can't call getColor() on a recycled bitmap"); checkHardware("unable to getColor(), " |