summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recents
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2014-09-07 15:45:57 -0700
committerAmith Yamasani <yamasani@google.com>2014-09-07 15:45:57 -0700
commitfdf169cbea5c59c6f74c25c6c529d8a19c6cb78c (patch)
treea39388b5dbe6066cb77842404384d9e40250fcfb /packages/SystemUI/src/com/android/systemui/recents
parentb30c9920df9a8b5f1515e26c65c5ce1d21e5a77a (diff)
downloadframeworks_base-fdf169cbea5c59c6f74c25c6c529d8a19c6cb78c.zip
frameworks_base-fdf169cbea5c59c6f74c25c6c529d8a19c6cb78c.tar.gz
frameworks_base-fdf169cbea5c59c6f74c25c6c529d8a19c6cb78c.tar.bz2
Use correct API for badging
Bug: 17414778 Change-Id: I7c0321d9435b0787a90cd62be80862069ba2d790
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java b/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
index 07a42bd..887cbac 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
@@ -356,7 +356,7 @@ public class SystemServicesProxy {
*/
public Drawable getBadgedIcon(Drawable icon, int userId) {
if (userId != UserHandle.myUserId()) {
- icon = mPm.getUserBadgedDrawableForDensity(icon, new UserHandle(userId), null, 0);
+ icon = mPm.getUserBadgedIcon(icon, new UserHandle(userId));
}
return icon;
}