commit | 769bddaa65f903e7874b0bc35a7b125a97c05ce2 | [log] [tgz] |
---|---|---|
author | Jerome Gaillard <jgaillard@google.com> | Fri Jun 30 13:20:41 2023 +0100 |
committer | Jerome Gaillard <jgaillard@google.com> | Mon Jul 03 19:29:14 2023 +0000 |
tree | 2a6eeb58bd74a61440d57e8dbe58dd62754dc6e8 | |
parent | 792a7db33fce6de0bf373c5987c9fdb096ff6f78 [diff] |
Handle dimensions in BridgeContext.resolveThemeAttribute This ensures that the TypedValue is correctly set up when the attribute resolves to a dimension. That means setting up the correct type and data. Fixes: 281942492 Test: Moved testTypedValue from RenderTests to BridgeContextTest, and added new case corresponding to dimension. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:212b8022361da4dc60dcb73f74e6810d3469845e) Merged-In: I701b4b1df26f104db7f505e31912d69abd289172 Change-Id: I701b4b1df26f104db7f505e31912d69abd289172