OSDN Git Service

Fix issue #11086275: Thumbnail only created once for top activity
authorDianne Hackborn <hackbod@google.com>
Sat, 5 Oct 2013 00:26:37 +0000 (17:26 -0700)
committerDianne Hackborn <hackbod@google.com>
Sat, 5 Oct 2013 17:26:23 +0000 (10:26 -0700)
commit4d03fe64205e4c2a3d6101b4818ded5b8fa56a0e
treec82e1ffabfbf479aa29679df9642d4a36ba29319
parentae7b22d61df0aef471c50d56a06a7d4316daffc6
Fix issue #11086275: Thumbnail only created once for top activity

If the last screenshot activity is resumed, we need to always capture
a new screenshot, because it can change at any time.

On the other hand, never create a thumbnail for tasks that have set
themselves to not show on the recent tasks lists, since we have no
use for them.

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