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

Skip to content
Commit b90bcd2b authored by Massimo Carli's avatar Massimo Carli
Browse files

[2/n] Add cache to width/height thin definition

Convertion between dp and pixel just need to be done
when density changes. We implemented an IntSupplier
which returns a cached value updating only when
density changes.

Bug: 334077350
Bug: 339738650
Test: atest WmTests:LetterboxConfigurationTest

Change-Id: I7adb6cd94d9f1908ea15561a1654914cb3665e19
parent b3b7b197
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