Skip to content

Commit

Permalink
Fix to avoid NPE on older API levels
Browse files Browse the repository at this point in the history
  • Loading branch information
azabost committed Sep 14, 2016
1 parent 6d21817 commit 08ee199
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,6 @@ public Bitmap.Config getBitmapConfig() {
*/
public void releaseBitmap() {
if (mBitmapCanvas != null) {
mBitmapCanvas.setBitmap(null);
mBitmapCanvas = null;
}
if (mDrawBitmap != null) {
Expand Down

0 comments on commit 08ee199

Please sign in to comment.