Maintenance: Removed unused field in MediaPreviewActivity

Closes #3934
// FREEBIE
This commit is contained in:
Sam Lanning 2015-08-13 00:52:00 +01:00 committed by Moxie Marlinspike
parent 201da6f2a2
commit 727c471234

View File

@ -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() {