summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2022-01-26 10:49:18 -0800
committerRob Carr <racarr@google.com>2022-04-05 19:21:55 +0000
commit0cfda55b95e842d7a90548de80292576bf5a0bd9 (patch)
tree3df0bd0e667c673d4af1f3409d48e4bc9bcad22f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8c10a6aa0dd91e4f899469648398e8a3d86edca7 (diff)
DO NOT MERGE: SurfaceControlViewHost: Restrict disclosure of input token
Currently we send the input (channel) token from the embedded view hierarchy to the remote embedding process via SurfacePackage. This is used to call grantEmbeddedWindowFocus. However this could also allow the host process to invoke updateInputChannel, which is not desirable. To fix this we rework updateInputChannel to work in terms of a focusGrantToken, which only carries this 1 capability. SurfacePackage is modified to not include the input token, but rather include this focus grant token. Bug: 215912712 Test: SurfaceControlViewHostTests Change-Id: Ie278f678f12f50c32f142a4260ff7d1c2a9ca57c (cherry picked from commit 501ee91b957eab6feb05832168573f51573efced)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions