summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorcecilia <xiaotinghong@google.com>2021-04-27 16:38:07 -0400
committerCecilia Hong <xiaotinghong@google.com>2021-04-28 01:27:56 +0000
commit4195d87b4817414e0a38f5dceee837c7cc8800ed (patch)
tree81e78aabc05751703b0f9d73ef2eeb2da153f6dd /tools/aapt2/java/JavaClassGenerator_test.cpp
parente5e92aee86ba9b1e3db5e5a08bdd9c3c90e841c9 (diff)
Init MediaHost with KeyguardMediaController's initialization, not wait until the controller is attached.
This fixes the bug where media control doesn't show on lock screen. This is because the instance of MediaHost being added as MediaDataManager.Listener is not the same instance the KeyguardMediaController holds. Init media host during the controller's initialization instead of attach fixes this issue. Fixes: 185510540 Test: Studio builds Change-Id: I821b97efe0558c09dcab4497e5043c744d82a9e1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions