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

Commit 61cd731e authored by Andrew Lee's avatar Andrew Lee
Browse files

Fix FAB positioning for incoming calls.

We aren't setting the screen width in onResume, which means that
repositions would fail for incoming calls, or resumes. Now, set the
screen width when resuming the app.

I also cleaned up some of the method naming to be more precise; there
shouldn't be a change in behavior resulting from it.

The OnGlobalLayout listener wasn't triggering if the observer wasn't
alive, so address this by checking for a new observer.

Bug: 17673299
Change-Id: I1d454f4a5d1561bc73c12a6c74edbc075e1f1a18
parent 0b5f566a
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