mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Maintenance: Removed unused field in MediaPreviewActivity
Closes #3934 // FREEBIE
This commit is contained in:
parent
201da6f2a2
commit
727c471234
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user