diff options
| author | 2022-06-09 17:04:24 -0400 | |
|---|---|---|
| committer | 2022-08-09 18:20:38 -0400 | |
| commit | 140fab50785ce5a2224618b83dff45871b3f48c0 (patch) | |
| tree | 0132b31da674f7ff844d370dda958a071d1c5a80 /libs/androidfw/StringPool.cpp | |
| parent | 716c5618dfab500888f04c2cc7bfcb9192370faa (diff) | |
Clean up QS/NSSL bottom margin calculation
The root cause of b/222594381 was a deviation between the two mostly
repetitive branches of an if-else.
This change factors out the not-repetitive part of those two branches
into a top-level case, and then merges the rest of the cases between the
two branches.
It also removes the default value for stackScrollMargin, since that
saves a couple lines of code but makes the resulting outputs harder to
discern by eye.
Also, spell out some wildcard imports to make ktlint happy.
Bug: 222594381
Test: manual, on Pixel 5a
Change-Id: I6a034a6fb475be363667cb64ab2b3516a8df6005
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions