summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2017-02-15 19:34:01 -0800
committerWale Ogunwale <ogunwale@google.com>2017-02-17 13:44:18 -0800
commit943002b47346ea82b4e69dca033cc03086969dd1 (patch)
tree93ed500e23b70d4b3ccd1fbf216e5ae2c3296098 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent91e5d7fa99258d829663b3552d6d0dacc30553ed (diff)
Set importance for processes displaying app-overlays based on visibility
We were previously setting this based on when the window was added and removed. This can lead to issues where an app isn't allowed to show alert windows so window manager hides the window after the permission is revoked, but the window still exist in the system so the process importance will still be high. We now set the process importance based on if it has visible window surfaces or not. Bug: 33256752 Test: cts/.../run-test CtsAppTestCases android.app.cts.AlertWindowsTests Change-Id: I4e406a94683ec0eecc0911d0195e641c693e1c4a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions