Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44520ac7 authored by Yixiao Luo's avatar Yixiao Luo
Browse files

Use on-screen input id for non-recording session in getCurrentTunedInfos()

The currently used value SessionState.inputId may be stale.

Bug: 440438253
Test: manual
Flag: EXEMPT bugfix
Change-Id: I506361df72ae4b8ca3819eb01ad7ced0d99ba0a2
parent ef37b7a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3296,7 +3296,7 @@ public final class TvInputManagerService extends SystemService {
                            : TunedInfo.APP_TYPE_NON_SYSTEM;
                }
                channelInfos.add(new TunedInfo(
                        state.inputId,
                        state.isRecordingSession ? state.inputId : mOnScreenInputId,
                        watchedProgramsAccess ? state.currentChannel : null,
                        state.isRecordingSession,
                        state.isVisible,