OSDN Git Service

Take screenshots of pausing activity
authorCraig Mautner <cmautner@google.com>
Thu, 24 Apr 2014 17:19:20 +0000 (10:19 -0700)
committerCraig Mautner <cmautner@google.com>
Thu, 24 Apr 2014 17:39:36 +0000 (10:39 -0700)
commitf6ead5d62e62ff9a466bd4cbbea77390ce00605b
tree75e29ec8574e7253a40ccc2aaf8eec868059b5da
parent1c299031982b6145e372aa43a3b8a5c683fad3da
Take screenshots of pausing activity

Previous CL to optimize out excessive screenshots (ag/379669) was too
effective and didn't take screenshots when going into an activity
that had attribute Window_windowNoDisplay. Adding in the test for
ActivityRecord.noDisplay allows screenshots for this situation.

Fixes bug 13410507.

Change-Id: Ieafebf44b7d1a3ba18115e762fba113f8d1c0252
services/core/java/com/android/server/am/ActivityStack.java