Skip to content
Commit 724792d0 authored by Chet Haase's avatar Chet Haase
Browse files

Fixed rounding logic in TypedValue to handle negative values correctly

Simple rounding by +.5 doesn't work for negative values. one-line fix.

Issue #26884580 Resources#getDimensionPixelSize rounds incorrectly for negative values

Change-Id: Ib2314f7e50320dde87d4c5035a59b49e8f015eaf
parent 63e8d8d2
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