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

Skip to content
Commit 015ec97c authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Fix presentation of "held" banner in landscape mode, plus more!

1. Removed landscape video_call_views.xml file; it was identical to
the portrait version but missing some recent changes.  This corrected
an issue I observed with the preview surface not rotating properly.
2. Changed layout of landscape call_card_fragment so that the secondary
call info box is a banner along the bottom of the screen and the call card
adjusts to fit above it.  The trick is to put that view before the
primary call card in the relative layout and mark the primary call card to
"layout_above" the secondary call info.
3. Fixed issue observed when transitioning from portrait to landscape
where the secondary call card OnPreDrawListener would keep firing.
Changed the way the OnPreDrawListener is removed per Yorke.
4. Corrected issue where the preview surface would not change to a
landscape orientation when the device is rotated.  Ensured when starting
up the VideoCallPresenter to adjust the orientation of the surface.

Bug: 21076775
Change-Id: Ia86215814602523882cc47d19a2cf2ab08eec5ea
parent a8600526
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment