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

Skip to content
Commit 20482540 authored by Evan Laird's avatar Evan Laird
Browse files

[Sb] requestLayout when visibility state changes

There seems to be some nondeterministic interaction between the mobile
icon's `isVisible` and `visibilityState` flows. We are already
requesting layout when `isVisible` changes, but visibilityState can also
need the layout changes if the icon changes between hidden, dot, or
normal visibility states.

This should address the issue where during initial layouts the icon can
be misplaced until another change in the icon container triggers a
layout pass.

Bug: 302090004
Test: manual; disable mobile data, and remove/re-insert SIMs
Test: toggle SIM on and off
Flag: NONE
Change-Id: Ib476222bbc0025add64c7437713f4df67590151b
(cherry picked from commit 018cdb42)
parent a922ac82
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