commit | 39bc6117dda8cf5f6f43846f18fc0fed87692efa | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Sun May 10 15:16:04 2020 -0700 |
committer | Winson Chung <winsonc@google.com> | Fri Nov 05 21:47:21 2021 +0000 |
tree | 37368ec3af6b7a7291ff3e3535f352a46a5bb3a0 | |
parent | 62eaabc3242b5e4ae5da7d39928123fda570f0b2 [diff] |
Change InputWindowInfo::isTrustedOverlay() to be permission and flag based. Add private flag to WindowManager.LayoutParams. If the flag is set, check if caller has INTERNAL_SYSTEM_WINDOW permission. Bug: 155781676 Bug: 196389741 Test: atest WindowManagerServiceTests Change-Id: I58cf9f38c496e0ae8b2193dca45c0805e831bc9e Merged-In: I58cf9f38c496e0ae8b2193dca45c0805e831bc9e