From 727c47123499c87eb11e1705d989388d62501689 Mon Sep 17 00:00:00 2001 From: Sam Lanning Date: Thu, 13 Aug 2015 00:52:00 +0100 Subject: [PATCH] Maintenance: Removed unused field in MediaPreviewActivity Closes #3934 // FREEBIE --- src/org/thoughtcrime/securesms/MediaPreviewActivity.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/org/thoughtcrime/securesms/MediaPreviewActivity.java b/src/org/thoughtcrime/securesms/MediaPreviewActivity.java index 7a12cb3aae..158b4da6c6 100644 --- a/src/org/thoughtcrime/securesms/MediaPreviewActivity.java +++ b/src/org/thoughtcrime/securesms/MediaPreviewActivity.java @@ -19,7 +19,6 @@ package org.thoughtcrime.securesms; import android.annotation.TargetApi; import android.content.DialogInterface; import android.content.Intent; -import android.graphics.Bitmap; import android.net.Uri; import android.os.Build.VERSION; import android.os.Build.VERSION_CODES; @@ -56,7 +55,6 @@ public class MediaPreviewActivity extends PassphraseRequiredActionBarActivity im private MasterSecret masterSecret; - private Bitmap bitmap; private ZoomingImageView image; private Uri mediaUri; private String mediaType; @@ -166,10 +164,6 @@ public class MediaPreviewActivity extends PassphraseRequiredActionBarActivity im private void cleanupMedia() { image.setImageDrawable(null); - if (bitmap != null) { - bitmap.recycle(); - bitmap = null; - } } private void saveToDisk() {