diff options
author | wilsonshih <wilsonshih@google.com> | 2019-03-28 11:56:27 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2019-04-30 16:21:49 +0800 |
commit | c17691b323f450d20e5eda3f82a53d3c9ae0532d (patch) | |
tree | 509227d362f5df05fa06890577cac84a160e2a47 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f8e4e75dcfcd1daad2e698980546fa8b41d74d3a (diff) |
Don't allow showing wallpapers on untrusted virtual displays
Sometimes user's image wallpaper might have sensitive information.
Third party apps can create a public virtual display then copy the
wallpaper from surface.
Add a restriction that wallpaper can only shows on displays that are
owned by system.
Fix: 129160451
Test: atest MultiDisplaySystemDecorationTests
Change-Id: I6dcc355a539b90fb51886c2ac2099c839a05bf0c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions