commit | fcdff3e735ced7d15d4cf19681c5c3b8613c299f | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Sun May 10 15:16:04 2020 -0700 |
committer | Chris Ye <lzye@google.com> | Tue May 19 08:41:08 2020 -0700 |
tree | 5a96d051787f3375603a3d83e3620b779a8b48ee | |
parent | f3193804bcb58b3e9ebce5e355702de278bacdbd [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 Test: atest WindowManagerServiceTests Change-Id: I58cf9f38c496e0ae8b2193dca45c0805e831bc9e