diff options
author | Winson Chung <winsonc@google.com> | 2014-07-14 17:31:41 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2014-07-15 17:25:21 +0000 |
commit | 82c8c5e9872b984ba6f43b01da0c7731fd5bf762 (patch) | |
tree | dde8bc71223eb4bd57f4695ed3ed9b917c6c43b5 /packages/SystemUI/src/com/android/systemui/recents/model | |
parent | 0b23e20be6121286567726e995cf3617c022a844 (diff) | |
download | frameworks_base-82c8c5e9872b984ba6f43b01da0c7731fd5bf762.zip frameworks_base-82c8c5e9872b984ba6f43b01da0c7731fd5bf762.tar.gz frameworks_base-82c8c5e9872b984ba6f43b01da0c7731fd5bf762.tar.bz2 |
DO NOT MERGE Using a fixed sized ImageView to prevent unnecessary layouts.
- Preparing for task view clipping using the view outline
Change-Id: I4aae4189a759a48057f1e3729cc2a9e6d553c11e
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents/model')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recents/model/RecentsPackageMonitor.java | 3 | ||||
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/model/RecentsPackageMonitor.java b/packages/SystemUI/src/com/android/systemui/recents/model/RecentsPackageMonitor.java index 2f1c1c4..31011ae 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/model/RecentsPackageMonitor.java +++ b/packages/SystemUI/src/com/android/systemui/recents/model/RecentsPackageMonitor.java @@ -25,7 +25,6 @@ import com.android.systemui.recents.misc.SystemServicesProxy; import java.util.HashSet; import java.util.List; -import java.util.Set; /** * The package monitor listens for changes from PackageManager to update the contents of the Recents @@ -33,7 +32,7 @@ import java.util.Set; */ public class RecentsPackageMonitor extends PackageMonitor { public interface PackageCallbacks { - public void onComponentRemoved(Set<ComponentName> cns); + public void onComponentRemoved(HashSet<ComponentName> cns); } PackageCallbacks mCb; diff --git a/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java b/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java index e3bcff0..13fbe64 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java +++ b/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java @@ -204,8 +204,8 @@ public class TaskStack { removeGroup(group); } // Update the lock-to-app state - Task newFrontMostTask = getFrontMostTask(); t.canLockToTask = false; + Task newFrontMostTask = getFrontMostTask(); if (newFrontMostTask != null) { newFrontMostTask.canLockToTask = true; } |