History log of /frameworks/opt/net/ims/src/java/com/android/ims/internal/VideoPauseTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
077dd3fef020b839e37b0c02fb5df7fadc7bf875 21-Jun-2017 Tyler Gunn <tgunn@google.com> Clear video pause tracker when video un-pause reported by the modem.

When video calls are swapped, the video stream automatically unpauses
without the UI requesting the pause/resume. Thus, the video pause tracker,
which tracks pause requests from the UI, can get into a state where it
thinks the video is paused, do it will ignore further pause requests.

Test: Manual
Bug: 62779713
Bug: 62784036
Change-Id: Ia8add452dbe9a79957e8a49e20ce58317136403b
/frameworks/opt/net/ims/src/java/com/android/ims/internal/VideoPauseTracker.java
266d3920ddc1e4cb95f9e21bc0ff0f2e0d0314cd 21-Dec-2016 Tyler Gunn <tgunn@google.com> Use pause signaling to halt a video call when data limit is reached.

This proved to be problematic as the InCallUI is the only place where
we would previously get a pause signal. Added a VideoPauseTracker
class which is responsible for tracking the source of pause requests and
ensuring that the video is only paused on the first request, and only
resumed on the last resume request.

Added some new logic to ImsVideoCallProviderWrapper to support receiving
pause and resume requests from other sources, and to ensure that requests
to pause or resume use the VideoPauseTracker to determine if the pause
or resume should actually be passed along to the modem.

Test: manual
Bug: 30760683
Change-Id: Id54b2a955745132ab09feb01b5c961f6115ef3df
/frameworks/opt/net/ims/src/java/com/android/ims/internal/VideoPauseTracker.java