diff options
author | Jorim Jaggi <jjaggi@google.com> | 2017-01-05 18:57:12 +0100 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2017-01-18 01:50:51 +0100 |
commit | fb9d78afb77b1d304b24f470a637244d52a7e1df (patch) | |
tree | 5f44d2bc48f8df4dde0ffece191ab8eaac895dbd /tools/aapt2/diff/Diff.cpp | |
parent | 10abe2fe297ce1ec60c15a3bd947757aee5b14b3 (diff) |
Add a listener when task snapshots change
Since we start recents before we take the snapshot, we need to add
a mechanism to inform recents about task snapshots changes.
We add a new method to TaskStackChangedListener,
onTaskSnapshotChanged, which gets called whenever a task snapshot
changes. Then, SystemUI registers such a listener and updates the
task thumbnail view for the specific task.
Test: Open app, press recents, make sure thumbnail is up-to-date
Bug: 31339431
Change-Id: I01e81b9cd11886da734da671c68d5732aa51009f
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions