commit | 70417d5a3d630356ed3e1cd5e2eb9253e16e4625 | [log] [tgz] |
---|---|---|
author | Tor Norbye <tnorbye@google.com> | Thu Apr 18 10:52:39 2024 +0100 |
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Thu Apr 18 10:59:07 2024 +0000 |
tree | afb8a13e03f2e4ea41e9e0f75da150a3322fb9fc | |
parent | 2ff08e865b57264486f94a10bbde9b8259b03770 [diff] |
268575580: Allow suppressing SpUsage on the dimension element instead Using a dp dimension for text-size related attributes is usually wrong, and lint issues a warning, pointing primarily to the text attribute, but also showing the relevant dimension attribute. Some users have tried suppressing these attributes on the dimension declaration. This isn't the ideal place to suppress it, since this will then allow *all* text attribute usages for that dimension, but we'll allow it. Test: Unit test included Fixes: 268575580 Change-Id: Icd7dd2e2b614b12826c43ea2019531ab5301c15a
This project contains: