Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -557,11 +557,11 @@ private void makeDefault() {
// Scale the image down for faster face detection.
private Bitmap prepareBitmap() {

if (mBitmap == null) {
if (mBitmap.isRecycled()) {

return null;
mBitmap = getBitmap( mImagePath );
}

// 256 pixels wide is enough.
if (mBitmap.getWidth() > 256) {

Expand Down