commit | 3474040486ac6c2c351ea7dc7d34a5ce7f2c9c04 | [log] [tgz] |
---|---|---|
author | Craig Mautner <cmautner@google.com> | Fri Oct 11 11:05:35 2013 -0700 |
committer | Craig Mautner <cmautner@google.com> | Fri Oct 11 11:05:35 2013 -0700 |
tree | 07824bfc106649a196c72fcbd383fdba22f69e1a | |
parent | 1db8cf12a985425a73d24875d9d308c14c0b4359 [diff] |
Make an exception for screenshot optimization. Screenshots were not being made for tasks with the flag FLAG_EXCLUDE_FROM_RECENTS set. But if the task is in the foreground the shot should be taken even with the flag set. This fix adds a test for tasks being in the foreground. Fixes bug 11170567. Change-Id: If42db7f43ed1dd8d2b16b68824adc813b31c94f0