Skip to content
Snippets Groups Projects
Commit 0eb0203c authored by Alexandre Lision's avatar Alexandre Lision
Browse files

* #30525: added check for transfer dialog

parent fdf2075a
Branches
Tags
No related merge requests found
......@@ -96,6 +96,8 @@ public class CallFragment extends Fragment implements Callback, SensorEventListe
private Sensor mSensor;
TransferDFragment editName;
@Override
public void onCreate(Bundle savedBundle) {
super.onCreate(savedBundle);
......@@ -465,7 +467,7 @@ public class CallFragment extends Fragment implements Callback, SensorEventListe
public void makeTransfer(Bubble contact) {
FragmentManager fm = getFragmentManager();
TransferDFragment editName = new TransferDFragment();
editName = TransferDFragment.newInstance();
Bundle b = new Bundle();
try {
b.putParcelableArrayList("calls", (ArrayList<Conference>)mCallbacks.getService().getConcurrentCalls());
......@@ -489,6 +491,9 @@ public class CallFragment extends Fragment implements Callback, SensorEventListe
// check that soft input is hidden
InputMethodManager lManager = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
lManager.hideSoftInputFromWindow(view.getWindowToken(), 0);
if(editName != null && editName.isVisible()){
editName.dismiss();
}
}
public BubblesView getBubbleView() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment