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

Skip to content
Commit 0ace4eb8 authored by Justin Klaassen's avatar Justin Klaassen
Browse files

Always calculate textSize in CalculatorText#onMeasure

Bug: 26934901

- Don't gate the minimum height and variable text size calculations
  based on the width constraint. That constraint may remain constant
  even though other configuration parameters are changing. It's
  sufficient to just not invoke the text size change listener in
  onMeasure to prevent unnecessary animations.
- Also suppressed unchecked cast warning in CalculatorExpr.

Change-Id: Ia402cdabdf7b0864fcbb3017ab85bb4038409da8
parent 9e7e5028
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