Protect against NPE when updating state

The TaskViewTaskController & state might be removed before one
of the visibility or bounds transactions are set, do nothing
in this case.

Test: atest TaskViewTransitionsTest
Bug: 280063582
Change-Id: If1384be31cd0668faba8d92d06a012ba6a5130dc
2 files changed