diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-02-16 18:53:31 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-02-16 18:53:31 -0800 |
commit | d94df45b3d1ab4004ef517acfc56a9310330f8d8 (patch) | |
tree | 817f42868f53f4dfd6393726a4049a8c2a4194b6 /packages/SystemUI | |
parent | 6c0dc5a5c1b0b8edd0706f97ed9e8c5d486afdc2 (diff) | |
download | frameworks_base-d94df45b3d1ab4004ef517acfc56a9310330f8d8.zip frameworks_base-d94df45b3d1ab4004ef517acfc56a9310330f8d8.tar.gz frameworks_base-d94df45b3d1ab4004ef517acfc56a9310330f8d8.tar.bz2 |
Rework thumbnail API to not suffer from IPC failures.
Thumbnails are now requested separately, so we don't exceed the
IPC buffer size limit.
Also implement issue #3349553: Please provide a hook to intercept
fragment-breadcrumb clicks
And maybe fix issue #3439199: Music Notification does not turn on
when app switching out of Music app
Change-Id: Ie939e78cc8ded07b18112760e053185947549f61
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java index 86c3e75..e0d558f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java @@ -374,8 +374,9 @@ public class RecentAppsPanel extends RelativeLayout implements StatusBarPanel, O if (title != null && title.length() > 0 && icon != null) { if (DEBUG) Log.v(TAG, "creating activity desc for id=" + id + ", label=" + title); ActivityDescription item = new ActivityDescription( - recentInfo.thumbnail, icon, title, - recentInfo.description, intent, id, index, info.packageName); + am.getTaskThumbnail(recentInfo.persistentId), + icon, title, recentInfo.description, intent, id, + index, info.packageName); activityDescriptions.add(item); ++index; } else { |