Fixed crash when capturing an image from camera in group chat room
This commit is contained in:
parent
c91421e2e2
commit
bf533878d8
3 changed files with 2 additions and 5 deletions
|
@ -42,8 +42,6 @@ import android.view.LayoutInflater;
|
|||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.webkit.MimeTypeMap;
|
||||
import android.widget.BaseAdapter;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.RelativeLayout;
|
||||
|
||||
|
|
|
@ -40,13 +40,12 @@ public class GroupInfoAdapter extends BaseAdapter {
|
|||
private LayoutInflater mInflater;
|
||||
private List<ContactAddress> mItems;
|
||||
private View.OnClickListener mDeleteListener;
|
||||
private boolean mHideAdminFeatures, mIsCreation;
|
||||
private boolean mHideAdminFeatures;
|
||||
|
||||
public GroupInfoAdapter(LayoutInflater inflater, List<ContactAddress> items, boolean hideAdminFeatures, boolean isCreation) {
|
||||
mInflater = inflater;
|
||||
mItems = items;
|
||||
mHideAdminFeatures = hideAdminFeatures;
|
||||
mIsCreation = isCreation;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -29,7 +29,7 @@ public class ContactAddress implements Serializable {
|
|||
private boolean isLinphoneContact;
|
||||
private boolean isSelect = false;
|
||||
private boolean isAdmin = false;
|
||||
private View view;
|
||||
private transient View view;
|
||||
|
||||
public boolean isAdmin() {
|
||||
return isAdmin;
|
||||
|
|
Loading…
Reference in a new issue