OSDN Git Service

screenshots could stop working after camera was used
authorMathias Agopian <mathias@google.com>
Fri, 10 Aug 2012 22:22:19 +0000 (15:22 -0700)
committerMathias Agopian <mathias@google.com>
Fri, 10 Aug 2012 22:23:41 +0000 (15:23 -0700)
commitef7b9c7eac036cc1230c64821039d18f8cbd2c1c
tree57edfc4b4a3ad4a441e7a32f0da6eddf2f95cf63
parent748f3df66f6695681cde44461e2548e6e1dbc1bb
screenshots could stop working after camera was used

once a secure window is put on screen the display
would retain its "secure" flag forever, preventing
screenshots from being taken.

Bug: 6933967
Change-Id: I5be8355145ca7d580d84552311642f8fa912fe6a
services/surfaceflinger/DisplayDevice.cpp
services/surfaceflinger/SurfaceFlinger.cpp