summaryrefslogtreecommitdiff
path: root/libs/hwui/AutoBackendTextureRelease.cpp
diff options
context:
space:
mode:
author Vinit Nayak <peanutbutter@google.com> 2022-10-04 16:54:37 -0700
committer Vinit Nayak <peanutbutter@google.com> 2022-10-06 04:26:43 +0000
commit91374458b09c46c82a263c95e95757de62e4a604 (patch)
tree981ffe1b901a6d260eff528acfe16003bf7891c2 /libs/hwui/AutoBackendTextureRelease.cpp
parenta04b35b69771b0a39f576ae76cca4d8a873a1252 (diff)
Pass config changes through to TaskbarDelegate
* Previously TaskbarDelegate was listening for config changes, but there was a race condition between when it was initialized and when the config change callback happened. The callback didn't re-fire after TaskbarDelegate became a listener for it. * Rely on NavigationBarController, whose lifecycle outlives TaskbarDelegate, to pass through config changes to TaskbarDelegate (similar to how it's doing for NavigationBar today) * One caveat is that previously TaskbarDelegate was relying on WM.ComponentCallbacks#onConfigChanged() whereas NavigationBarController gets its config changes from Application#onConfigurationChanged() Fixes: 243765256 Test: Repro in bug no longer happens Change-Id: Ifa7ea26946e6e68f74d095cbdf1e274d6a39b6b7
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions