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

Commit 51f9c0f2 authored by Josh Gargus's avatar Josh Gargus
Browse files

Fix jank when expanding photo in ContactDetailActivity.

The bug is caused as follows.  Tapping the photo invokes a
PhotoSelectionActivity.  When it initially sets the photo, a relayout
request is made, which causes a jank if the animation is already
underway.

Instead, we now wait for the layout before starting the animation.

Add new utility class with static doAfterLayout() method, since this
code was duplicated in a couple of places.

Bug: 6000382
Change-Id: Ic32a3db1f8c0be99fe0c160debede71f882c73e7
parent 6da19dfa
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