Replaced ending call procedure with wait_for_call_end

1. The part for ending call in call_setup_teardown_for_subscription
   is replaced with wait_for_call_end to reduce duplicate.
2. A logical bug in wait_for_call_end is fixed, which will cause the
   function returns immediately without runnning remaining part when
   the call was dropped.
3. Try-except block in call_setup_teardown_for_subscription is
   removed.

Bug: None
Test: Yes, locally
Change-Id: I6ce9ad0b3dd5114d9eaffd34733f73fd37ecdf0c
1 file changed
tree: eb050bd66c565788e70c0c75d0c032b2214094c1
  1. acts/
  2. acts_tests/
  3. tools/
  4. wts-acts/
  5. Android.mk
  6. LICENSE
  7. OWNERS
  8. PREUPLOAD.cfg