Merge "Separate animation applying logic from commitVisibility"