Merge "[TIF CTS] logExternalInputEvent only when release sessions of current input" into main