TvInputManager: fix leaking Context when failed create Session

If TvInputManagerService fails and returns null token, TvInputManager
does not create a Session object, so the onSessionReleased() will not
be executed. mSessionCallbackRecordMap does not clear the entry
in this case.

Bug: 110959874
Test: Create a TVView, call tune() with invalid id, run adb shell
      dumpsys meminfo and check activity count is not leaking.
Change-Id: Id0c81a99cb222bac98778e5d494ebd8665cf950f
1 file changed