Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 160c0416 authored by Ravi Paluri's avatar Ravi Paluri Committed by Linux Build Service Account
Browse files

IMS-VT: Handle power button interactions in a VT call

1. Introduce InCallUiStateNotifier class that listens to below events
   and notify whether UI is visible to the user or not using
   onUiShowing API
       a. InCallActivity's lifecycle events (onStop/onStart)
       b. Display state change events (DISPLAY_ON/DISPLAY_OFF)
2. Introduce InCallUiStateNotifierListener Interface that exposes
   onUiShowing API
3. Handle onUiShowing API to
       a. Turn ON/OFF camera
       b. Send Pause/Resume requests when multitasking is enabled
4. Ignore duplicate Pause/Resume requests

IMS_VT: Enable camera only when InCall UI is in foreground

- We don't need to enable camera when InCall UI is in
  background.
Change-Id: Ic95b4ab8d2e8e3a8ba0ea856a53bb320aa713e37

IMS-VT: Always update "mIsInBackground" flag

update "mIsInBackground" flag whenever there are indications
that UE moved to either background or foreground and never
ignore these indications
Change-Id: I9f127fa640b779175dda95ff44aa5e77dc645a42

Change-Id: If4da4fa9fa3a007d23d1bf9e9896e6f40d859900
CRs-Fixed: 881797
parent b8f6a6c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment