commit | 2d7506151925aab17caedaf87e1e5f597856dfec | [log] [tgz] |
---|---|---|
author | Sally <sallyyuen@google.com> | Thu May 25 15:20:51 2023 +0000 |
committer | Sally <sallyyuen@google.com> | Tue May 30 19:20:31 2023 +0000 |
tree | 09f0ae745adc6e66dc4b95c3ea38e6fbc74fe393 | |
parent | 66b0e8ad1e810682bdc86f89b3273fe5884d54c5 [diff] |
Restrict proxies for displays owned by the caller A virtual device should only be allowed to proxy displays it owns. This checks the available displays and compares the owners to the calling uid used when registering a proxy. Test: atest AccessibilityDisplayProxyTest, manual with Exo Bug: 280661435 Change-Id: I7f7a4d5c1cb5510410e5b8d5348d2ce67b30af4b