Skip to content
Commit 7f1fa997 authored by chaviw's avatar chaviw
Browse files

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
parent 7b9a2c76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment