Merge "TvInputHardwareManager: always try patch recreate if null" am: 59349e6d71
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1535783 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4cb4fc1c150698ef0f865e0733d417d2a187081f
This commit is contained in:
@@ -976,7 +976,7 @@ class TvInputHardwareManager implements TvInputHal.Callback {
|
||||
AudioPortConfig sourceConfig = mAudioSource.activeConfig();
|
||||
List<AudioPortConfig> sinkConfigs = new ArrayList<>();
|
||||
AudioPatch[] audioPatchArray = new AudioPatch[] { mAudioPatch };
|
||||
boolean shouldRecreateAudioPatch = sourceUpdated || sinkUpdated;
|
||||
boolean shouldRecreateAudioPatch = sourceUpdated || sinkUpdated || mAudioPatch == null;
|
||||
|
||||
for (AudioDevicePort audioSink : mAudioSink) {
|
||||
AudioPortConfig sinkConfig = audioSink.activeConfig();
|
||||
|
||||
Reference in New Issue
Block a user