OSDN Git Service

Merge "Corp badging for Recents"
authorAmith Yamasani <yamasani@google.com>
Fri, 11 Apr 2014 00:30:35 +0000 (00:30 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Fri, 11 Apr 2014 00:30:35 +0000 (00:30 +0000)
1  2 
packages/SystemUI/src/com/android/systemui/recents/RecentsTaskLoader.java
packages/SystemUI/src/com/android/systemui/recents/model/Task.java

@@@ -69,13 -77,9 +77,13 @@@ public class Task 
  
      TaskCallbacks mCb;
  
 +    public Task() {
 +        // Only used by RecentsService for task rect calculations.
 +    }
 +
      public Task(int id, boolean isActive, Intent intent, String activityTitle,
                  Bitmap activityIcon, int userId) {
-         this.key = new TaskKey(id, intent);
+         this.key = new TaskKey(id, intent, userId);
          this.activityLabel = activityTitle;
          this.activityIcon = activityIcon;
          this.isActive = isActive;