OSDN Git Service

Removing legacy default thumbnail logic.
authorWinson Chung <winsonc@google.com>
Thu, 8 Jun 2017 20:46:12 +0000 (13:46 -0700)
committerWinson Chung <winsonc@google.com>
Thu, 8 Jun 2017 20:46:12 +0000 (13:46 -0700)
commit75ef9b2667660a4b33a238a6a86affd51ade330c
treea80add7b6ef94aa4642bed97b65e1196aa15c4ce
parentebb6e998d5a4567095bca3608a2aa5afdf0d23de
Removing legacy default thumbnail logic.

- With the move to snapshots, we no longer keep a local cache of the
  thumbnails and tasks which have no thumbnails will be handled
  in the snapshot from the system (if it uses FLAG_SECURE) or in
  Recents directly through the task description background color.

  In the case of this bug, the default thumbnail (1x1 white bitmap) was
  incorrectly being applied because the system could not take a snapshot
  of the app due to DRM.

Bug: 62447895
Test: Open any app with DRM, play video, tap Recents

Change-Id: I02e87cf513eb9750b39d54d085b0c19645b7ed52
packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java