Skip to content
Commit e0d03a00 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Align the size calculation of task configuration

Since [1], screen dp size is rounded as px/density+0.5f.
So the task configuration should use the same calculation
for consistency. Which also avoids triggering unnecessary
1dp diff configuration change.

[1]: I8f78d9bd14b7fb9d12a20a662ad4ec04f82ce7f2

Bug: 204481252
Test: TaskTests#testComputeConfigResourceOverrides

Change-Id: I0fcd661551f38ce7f336b1319de5ae34826838a2
parent 6cfafc4b
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