From c5bf2cd00dfb073c23ebec1f6297636d27482ae1 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Wed, 23 Jan 2019 18:02:21 +0100 Subject: [PATCH] fix missing reference introduced by removing Google location stuff --- res/layout/conversation_activity_attachment_editor_stub.xml | 2 ++ src/org/thoughtcrime/securesms/mms/AttachmentManager.java | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/res/layout/conversation_activity_attachment_editor_stub.xml b/res/layout/conversation_activity_attachment_editor_stub.xml index 057748f65..26cb27dbb 100644 --- a/res/layout/conversation_activity_attachment_editor_stub.xml +++ b/res/layout/conversation_activity_attachment_editor_stub.xml @@ -14,12 +14,14 @@ android:layout_height="wrap_content" android:layout_gravity="center"> + garbage = new LinkedList<>(); private @NonNull Optional slide = Optional.absent(); @@ -99,7 +99,7 @@ public class AttachmentManager { this.thumbnail = ViewUtil.findById(root, R.id.attachment_thumbnail); this.audioView = ViewUtil.findById(root, R.id.attachment_audio); this.documentView = ViewUtil.findById(root, R.id.attachment_document); - this.mapView = ViewUtil.findById(root, R.id.attachment_location); + //this.mapView = ViewUtil.findById(root, R.id.attachment_location); this.removableMediaView = ViewUtil.findById(root, R.id.removable_media_view); removableMediaView.setRemoveClickListener(new RemoveButtonListener()); @@ -176,6 +176,7 @@ public class AttachmentManager { this.slide = Optional.of(slide); } + /* public ListenableFuture setLocation(@NonNull final SignalPlace place, @NonNull final MediaConstraints constraints) { @@ -203,6 +204,7 @@ public class AttachmentManager { return returnResult; } + */ @SuppressLint("StaticFieldLeak") public ListenableFuture setMedia(@NonNull final GlideRequests glideRequests,