diff options
author | Winson Chung <winsonc@google.com> | 2020-05-08 11:35:11 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2020-05-08 18:39:41 +0000 |
commit | 0026f65e2a56440af00510dc9a5d7b3e8183059e (patch) | |
tree | 4966f1a50299b5f260c63ae7fb60b8e9dc5dbdbb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1edeeee3160f32c995ec8c6215341b07f2367122 (diff) |
Account for DPM state when checking FLAG_SECURE
- If the profile has disable screen capture enabled on their work
profile, then DPM service will directly set the secure state on
the surfaces, but the window flags aren't updated. Callers need
to check the cache state to also ensure that they report the
right secure state when taking a snapshot and when rotating.
Bug: 156104186
Test: Open a work profile app with screen capture disabled and
ensure the task snapshot dump state reflects the secure
state
Change-Id: I7cc6d525c818346846d27bdfad1961b464dfb46d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions