Add permission asking in chat creation
This commit is contained in:
parent
a085e6424e
commit
c026ae9c0c
2 changed files with 5 additions and 2 deletions
|
@ -203,12 +203,12 @@ public class ChatCreationFragment extends Fragment implements View.OnClickListen
|
|||
mShareInfos.putString("messageDraft", messageDraft);
|
||||
}
|
||||
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
ContactsManager.addContactsListener(this);
|
||||
super.onResume();
|
||||
|
||||
InputMethodManager inputMethodManager = (InputMethodManager) getActivity().getSystemService(INPUT_METHOD_SERVICE);
|
||||
|
@ -222,6 +222,7 @@ public class ChatCreationFragment extends Fragment implements View.OnClickListen
|
|||
if (mChatRoom != null) {
|
||||
mChatRoom.removeListener(mChatRoomCreationListener);
|
||||
}
|
||||
ContactsManager.removeContactsListener(this);
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
|
@ -425,6 +426,7 @@ public class ChatCreationFragment extends Fragment implements View.OnClickListen
|
|||
|
||||
@Override
|
||||
public void onContactsUpdated() {
|
||||
mSearchAdapter.searchContacts(mSearchField.getText().toString(), mContactsList);
|
||||
ContactsManager.getInstance().fetchContactsAsync();
|
||||
updateList();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -208,6 +208,7 @@ public class ChatListFragment extends Fragment implements ContactsUpdatedListene
|
|||
if (mChatRoomDeletionPendingCount > 0) {
|
||||
mWaitLayout.setVisibility(View.VISIBLE);
|
||||
}
|
||||
LinphoneActivity.instance().refreshMissedChatCountDisplay();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue