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

Skip to content
Commit 956024c5 authored by Shubang Lu's avatar Shubang Lu
Browse files

[TIF CTS] Fix NEP in TvInputManagerService

In onServiceConnected, userState.serviceStateMap.get(mComponent) returns
null because some components are removed in buildTvInputListLocked.

The service state should not be removed there because:
1. The service may be bound and there may be existing sessions
2. ActivityManager restarts crashed service automatically and it causes
   NPE.

The original issue 204469566 can be resolved by calling
updateServiceConnectionLocked()

Bug: 291759647
Test: atest CtsTvTestCases
Change-Id: Ia7d8b7ce5ea3d2d4d9dcd86ffc1ecfaf2fa6c386
parent f01ab23c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment