From 4c89b242be51afee7e28861912c9e0a2b7e62ebd Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Mon, 18 May 2015 15:48:43 -0700 Subject: [PATCH] Eliminate progess dialog during group members lookup. It's just a flicker of confusion. // FREEBIE --- .../thoughtcrime/securesms/GroupMembersDialog.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/org/thoughtcrime/securesms/GroupMembersDialog.java b/src/org/thoughtcrime/securesms/GroupMembersDialog.java index 8cb314a3c9..d823fb1983 100644 --- a/src/org/thoughtcrime/securesms/GroupMembersDialog.java +++ b/src/org/thoughtcrime/securesms/GroupMembersDialog.java @@ -1,6 +1,5 @@ package org.thoughtcrime.securesms; -import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; @@ -30,17 +29,13 @@ public class GroupMembersDialog extends AsyncTask { private final Recipients recipients; private final Context context; - private ProgressDialog progress = null; - public GroupMembersDialog(Context context, Recipients recipients) { this.recipients = recipients; this.context = context; } @Override - public void onPreExecute() { - progress = ProgressDialog.show(context, context.getString(R.string.GroupMembersDialog_members), context.getString(R.string.GroupMembersDialog_members), true, false); - } + public void onPreExecute() {} @Override protected Recipients doInBackground(Void... params) { @@ -56,10 +51,6 @@ public class GroupMembersDialog extends AsyncTask { @Override public void onPostExecute(Recipients members) { - if (progress != null) { - progress.dismiss(); - } - GroupMembers groupMembers = new GroupMembers(members); AlertDialogWrapper.Builder builder = new AlertDialogWrapper.Builder(context); builder.setTitle(R.string.ConversationActivity_group_members);