mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
Maintenance: Removed unused field in MediaPreviewActivity
Closes #3934 // FREEBIE
This commit is contained in:
parent
201da6f2a2
commit
727c471234
1 changed files with 0 additions and 6 deletions
|
@ -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…
Reference in a new issue