diff options
author | Shu Chen <shuchen@google.com> | 2020-07-17 20:13:49 +0800 |
---|---|---|
committer | Shu Chen <shuchen@google.com> | 2020-07-22 13:00:48 +0000 |
commit | 0cb53bb60620d6640bacc069f0de9042dbfc4f2e (patch) | |
tree | 9b139b7f795d4344a31157bd9c8110e86dfd31b0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 316f90c92727ee408d7fef5a022c18120cd98e12 (diff) |
Ensures the slop value is fixed cross lines.
In Q, the slop is a fixed value calculated based on
TextView.getLineHeight().
In R (before this cl), the slop is a dynamic value based on the height
of the current line.
It's been confirmed as the root cause of the regression bug b/159528374.
This cl changes the slop value back to the fixed value.
Bug: 159528374
Test: Verified locally.
Change-Id: I182d22779f1c1155ae2e0b0deb0455bd270b2fd9
Merged-In: I182d22779f1c1155ae2e0b0deb0455bd270b2fd9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions