commit | 04a442e53639efcac948c36947c798d679d3279c | [log] [tgz] |
---|---|---|
author | Fabian Kozynski <kozynski@google.com> | Fri Sep 17 10:10:10 2021 -0400 |
committer | Fabian Kozynski <kozynski@google.com> | Fri Sep 17 10:10:10 2021 -0400 |
tree | 44d7f9c339745437f338cd89281e89b45f19dff9 | |
parent | fcf06e22b77405773303b2640286e2af2564e6b3 [diff] |
Prevent nesting of ContextThemeWrapper brightness_mirror_container sets android:theme, causing the inflating context to be wrapped in a ContextThemeWrapper every time it's reinflated (because we used the old view context). Instead, use the context of the parent for reinflation (same context every time), so we only have one layer or theming. Fixes: 200054259 Test: manual, dump heap after triggering reinflate many times Change-Id: I0af5648bfc8b20dc53cb0a9064eb7b93d1f10941