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

Commit 24409092 authored by Yixiao Luo's avatar Yixiao Luo
Browse files

Do not delay updating service connection if a hardware TIS service is reconnecting

In abortPendingCreateSessionRequestsLocked(), run
updateServiceConnectionLocked() immediately when serviceState of a hardware service is reconnecting.

Bug: 332201346
Test: verified by MTK
Flag: EXEMPT bugfix
Change-Id: I5b1293ac14a19401466fc886322d72ebb88f2377
parent 91fcb1d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -919,7 +919,7 @@ public final class TvInputManagerService extends SystemService {
            sendSessionTokenToClientLocked(sessionState.client,
                    sessionState.inputId, null, null, sessionState.seq);
        }
        if (!serviceState.isHardware) {
        if (!serviceState.isHardware || serviceState.reconnecting) {
            updateServiceConnectionLocked(serviceState.component, userId);
        } else {
            updateHardwareServiceConnectionDelayed(userId);