Remove screen share protection on transaction commit

When screen share protection is removed on view's visibility
change, it may leak the sensitive content becuase the content
might still be visible on the screen.

This change delay the protection removal until the sensitive
content is removed from the screen.

Fix: 336626172
Test: atest ViewSensitiveContentTest
Test: manual test
Change-Id: Iba399b4e65c7346fc891c355fa653bb9abfd7869
3 files changed