Fixed crashes while in call
This commit is contained in:
parent
e0b19d9345
commit
43090dd342
2 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,7 @@ public class CallAudioFragment extends Fragment {
|
|||
|
||||
@Override
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
incallActvityInstance = (CallActivity) activity;
|
||||
|
||||
if (incallActvityInstance != null) {
|
||||
|
|
|
@ -259,6 +259,7 @@ public class CallVideoFragment extends Fragment implements OnGestureListener, On
|
|||
|
||||
@Override
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
inCallActivity = (CallActivity) activity;
|
||||
if (inCallActivity != null) {
|
||||
inCallActivity.bindVideoFragment(this);
|
||||
|
|
Loading…
Reference in a new issue