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

Commit 34c5526d authored by Winson's avatar Winson
Browse files

Ensure that the tint is properly applied in docked mode.

- The signal cluster dedupes multiple calls with the same value, but 
  since the first calls come before the rotation relayout, the dark 
  tint is calculated incorrectly and subsequent calls get deduped.
  Ensure that if the layout changes, we also update the tint of all 
  icons again.

Bug: 29390902
Change-Id: I79c3796cba2f9a94d44f9fd59cf1702a64b62cd9
parent 7555f335
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -234,6 +234,14 @@ public class SignalClusterView
        super.onDetachedFromWindow();
        super.onDetachedFromWindow();
    }
    }


    @Override
    protected void onLayout(boolean changed, int l, int t, int r, int b) {
        super.onLayout(changed, l, t, r, b);

        // Re-run all checks against the tint area for all icons
        applyIconTint();
    }

    // From SecurityController.
    // From SecurityController.
    @Override
    @Override
    public void onStateChanged() {
    public void onStateChanged() {