Fixed sending image via chat while in call
This commit is contained in:
parent
a0f044fa10
commit
4eb1f827d8
2 changed files with 5 additions and 0 deletions
|
@ -1379,6 +1379,10 @@ public class LinphoneActivity extends LinphoneGenericActivity implements OnClick
|
|||
super.onRestoreInstanceState(savedInstanceState);
|
||||
}
|
||||
|
||||
public void disableGoToCall() {
|
||||
doNotGoToCallActivity = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
|
|
|
@ -485,6 +485,7 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
|
|||
Intent chooserIntent = Intent.createChooser(galleryIntent, getString(R.string.image_picker_title));
|
||||
chooserIntent.putExtra(Intent.EXTRA_INITIAL_INTENTS, cameraIntents.toArray(new Parcelable[]{}));
|
||||
|
||||
LinphoneActivity.instance().disableGoToCall();
|
||||
startActivityForResult(chooserIntent, ADD_PHOTO);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue