summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Christian Göllner <chrisgollner@google.com> 2022-08-15 12:18:31 +0200
committer Christian Göllner <chrisgollner@google.com> 2022-08-15 12:20:52 +0200
commit692e1096459cb80e26bfb106594fea6c5f2b9422 (patch)
treeaed4e638f035849c57ad64cf42a6b2bb8aed7af0 /libs/androidfw/StringPool.cpp
parent592f8bf611e997bca0c5a208a8e8a0ee1f024c4f (diff)
Fix media having wrong expansion on QQS/landscape after fold/unfold
The boolean to decide whether media should be collapsed on qqs landscape comes from a boolean resource config. This resource has different values for different resource qualifiers. The boolean resource was being read once through Dagger during initialization. The problem is that the dagger component for QS is not being recreated during fold/unfold, and we keep using the out of date resource value. The solution is to inject a provider of that boolean, instead of the boolean itself, to make sure we always get the latest value. Test: QuickQSPanelControllerTest.kt Test: Manually Fixes: 234574920 Change-Id: I22fef5d865b2eeb6bf4421ff1e5cbfde592f21ce
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions