summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-01-10 13:52:12 -0800
committerchaviw <chaviw@google.com>2018-01-25 10:34:55 -0800
commit7f1fa997a9f0ff049406fba2c7717445769cbc4b (patch)
tree7b2ab5a5a3935654d05fbbd96fa12e53e38c0f38 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent7b9a2c760f8b0ac68dfc258659a9a13eff0ac9ef (diff)
Don't take screenshot when no WSA surfaces are visible.
Currently screenshots are taken even when no WSA surfaces are visible. This results in black screenshots geting taken and later used to show in recents. Restore previous behavior where screenshots are not taken for apps that don't have any WSA surfaces visible. Test: Enter split screen. Put an app in the secondary screen. Exit split screen and enter recents. App that was secondary should now contain a correct screenshot instead of displaying a black screenshot. Change-Id: I1417afa0bf6602f3ca7ed55e96fc94bce5f5b4fe
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions