SystemServer: fix an infinite loop in TvInputManagerService [1/1]

PD#SWPL-6385
Bug:174639896

Problem:
There could be an infinite loop when TvInputManagerService processes
a DeathRecipient's callback and fails to remove its session

Solution:
Do the clear work to make sure the related session is removed finally

Verify:
verify it on Marconi

Change-Id: I9bd79fbc49b8283691870f1e745b324d1322b292
Signed-off-by: an.xi <an.xi@amlogic.com>
1 file changed