Loading graphics/java/android/graphics/Bitmap.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1869,9 +1869,9 @@ public final class Bitmap implements Parcelable { public boolean sameAs(Bitmap other) { public boolean sameAs(Bitmap other) { checkRecycled("Can't call sameAs on a recycled bitmap!"); checkRecycled("Can't call sameAs on a recycled bitmap!"); noteHardwareBitmapSlowCall(); noteHardwareBitmapSlowCall(); other.noteHardwareBitmapSlowCall(); if (this == other) return true; if (this == other) return true; if (other == null) return false; if (other == null) return false; other.noteHardwareBitmapSlowCall(); if (other.isRecycled()) { if (other.isRecycled()) { throw new IllegalArgumentException("Can't compare to a recycled bitmap!"); throw new IllegalArgumentException("Can't compare to a recycled bitmap!"); } } Loading Loading
graphics/java/android/graphics/Bitmap.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1869,9 +1869,9 @@ public final class Bitmap implements Parcelable { public boolean sameAs(Bitmap other) { public boolean sameAs(Bitmap other) { checkRecycled("Can't call sameAs on a recycled bitmap!"); checkRecycled("Can't call sameAs on a recycled bitmap!"); noteHardwareBitmapSlowCall(); noteHardwareBitmapSlowCall(); other.noteHardwareBitmapSlowCall(); if (this == other) return true; if (this == other) return true; if (other == null) return false; if (other == null) return false; other.noteHardwareBitmapSlowCall(); if (other.isRecycled()) { if (other.isRecycled()) { throw new IllegalArgumentException("Can't compare to a recycled bitmap!"); throw new IllegalArgumentException("Can't compare to a recycled bitmap!"); } } Loading