Move input sink on top of the Activity when needed An Activity below the TaskFragments could be exposed to user touches since (1) the upper TaskFragments do not fill the entire Task, and (2) the bounds of the Activity within the TaskFragment and the Activity below in the hierarchy can be different. Therefore, we will need an input sink above the Activity to block the touches between the TaskFragments. This change could avoid the risk of tapjecking within the Task. Bug: 490083213 Test: atest WmTests:ActivityRecordInputSinkTests Test: atest CtsWindowManagerDeviceActivity:ActivityRecordInputSinkTests Test: atest CtsWindowManagerDeviceInput:WindowUntrustedTouchTest Test: atest CtsWindowManagerSdk35TestCases:ActivityRecordInputSinkTestsSdk35 Test: atest CtsWindowManagerSdk35TestCases:WindowUntrustedTouchTestSdk35 Flag: EXEMPT CVE_FIX Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:42b79155a6b7ffdf1cfc2552d854b9cd9692d381 Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:5dc4ee1bbea1b26bc93b1b7056cb893f551560d9 Merged-In: Ia9ea05e190cb809516de5765262b8cbee7676769 Change-Id: Ia9ea05e190cb809516de5765262b8cbee7676769