Apply WindowAttributes for overlay container

Also consolidate most logic to update overlay containers to
 #applyActivityStackAttributes.

Test: atest OverlayPresentationTest
Bug: 243518738
Change-Id: Ic0a3e2b01876591fb1daf638682645d844d4bc35
4 files changed