summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDean Wheatley <dwhea@dolby.com>2020-12-24 08:44:04 +1100
committerDean Wheatley <dwhea@dolby.com>2020-12-24 11:39:08 +1100
commitc52b5e533c5ff5ee8588e6adfefdd0264353b118 (patch)
treebac4d8685ffe524e4fa2df14554bdf5e5db27ce2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3a7861281beae4f93368d54096d3f2e25b54a78a (diff)
TvInputHardwareManager: always try patch recreate if null
TvInputHardwareImpl constructor registers for an audio port update listener which can be triggered causing updateAudioConfigLocked() and for mAudioSource and mAudioSink to be initialized but with mActiveConfig null. On subsequent setSurface(), mActiveConfig is set and updateAudioConfigLocked() called, however sink and source may not be updated. Under such conditions, the audio patch may never be created. Add a mAudioPatch null check for determining whether the audio patch should be created. Test: atest CtsTvTestCases:BundledTvInputServiceTest#testTune on yukawa TV build with 1) mock tv input hal, 2) mock hdmi tv input service and 3) mock primary HAL hdmi in support Change-Id: Ic92d926759d4a87eda4851630bee946af66f6984
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions