OSDN Git Service

Fix missing recents screenshots
authorMathias Agopian <mathias@google.com>
Tue, 12 Mar 2013 03:47:24 +0000 (20:47 -0700)
committerMathias Agopian <mathias@google.com>
Tue, 12 Mar 2013 03:47:24 +0000 (20:47 -0700)
commitb7a5b05b53b81cb24849c7e9934c941f64e05a42
tree8b1738c97d04f56f1791fa10e52bd55417c9f89f
parent2aee1b01b7f4e1e0849f5653139a995ad6ba877e
Fix missing recents screenshots

We were using the "visible layer list" when taking screenshots,
which doesn't work when a layer is behind other opaque layers
and therefore hidden.

We fix this by using the full layer list, filtered by the
layerstack of the display we're looking at.

Bug: 7552304
Change-Id: I4b6f77e5511aea94f8d218975b6e22738e7e5d5b
services/surfaceflinger/SurfaceFlinger.cpp