summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Tyler Freeman <fuego@google.com> 2023-12-20 16:42:04 -0800
committer Tyler Freeman <fuego@google.com> 2023-12-20 18:17:15 -0800
commitc68586710770e0e97556b70dad0191589365190e (patch)
treeb43f7bc65a7760f3364add7b1094ea26d6008401 /libs/androidfw/FileStream.cpp
parentc436c976f83ee643e75b9a317d6269abea250131 (diff)
fix(non linear font scaling): fix tests polluting the cache
The allFeasibleScalesAndConversionsDoNotCrash() test puts like every possible value into the cache, which causes missingLookupTable_cachesInterpolated() to find a value where it's not expecting one. Thus we restore the original default values at the end of every test. Also fix the test tolerance to be larger. Fix: 316968558 Fix: 317159831 Test: atest FontScaleConverterFactoryTest Flag: N/A Change-Id: I2117a22fdf985af69a02a91ecf490d98c3c865c6
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions