Bug 996515 - [NFC] Screen shot does not have move back animation when video is failed to share

add test and fix lint
Merge pull request #19364 from gasolin/issue-996515

Bug 996515 - [NFC] Screen shot does not have move back animation when vi..., r=alive