Factor out wait_for_ringing_call()

-Pull the wait_for_ringing call function out of the multiple
 places with this boilerplate code.

This change is a pre-requisite to adding more generic user
behavior when a call rings.

Bug: 30682509
Change-Id: I6c16a9a494e9c4814c9ca419c7628bda4e4dd4b4
(cherry picked from commit 77b9591fb024588c57c9282e6723ce58a28200f8)
2 files changed
tree: 4e179db10a31f2e2ac76de766eedd289e23c7027
  1. acts/