diff options
author | Jim Miller <jaggies@google.com> | 2012-05-30 03:19:43 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2012-05-30 03:36:20 -0700 |
commit | 9a720f5eb6c67b581df22f4ecb498cebb459babe (patch) | |
tree | 960d4fae81ed6f45a8a3dc131f6542b4e83c9dc9 /packages/SystemUI/src/com/android/systemui/recent | |
parent | 38616ccc94b1e1a605ab43cc5c230d6acc729a15 (diff) | |
download | frameworks_base-9a720f5eb6c67b581df22f4ecb498cebb459babe.zip frameworks_base-9a720f5eb6c67b581df22f4ecb498cebb459babe.tar.gz frameworks_base-9a720f5eb6c67b581df22f4ecb498cebb459babe.tar.bz2 |
Fix 6398209: SearchPanel gesture improvements
This fixes a few recent regressions caused by other bug fixes:
- add new flags to animateCollapse() so we can selectively close panels. Fixes regression caused by attempt to close recent apps from startAssistActivity() which had the side effect of closing the search panel before the animation completes.
- adds tuneable holdoff delay for responding to home key press.
- minor tweaks to MultiWaveView animations.
Change-Id: Ia48434b8d59e7b0290a5e9783960c2f684068218
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recent')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java index 39d686f..89bf3b6 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java @@ -58,6 +58,7 @@ import android.widget.TextView; import com.android.systemui.R; import com.android.systemui.statusbar.BaseStatusBar; +import com.android.systemui.statusbar.CommandQueue; import com.android.systemui.statusbar.phone.PhoneStatusBar; import com.android.systemui.statusbar.tablet.StatusBarPanel; import com.android.systemui.statusbar.tablet.TabletStatusBar; @@ -368,7 +369,7 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener } if (mBar != null) { // This will indirectly cause show(false, ...) to get called - mBar.animateCollapse(); + mBar.animateCollapse(CommandQueue.FLAG_EXCLUDE_NONE); } } @@ -822,7 +823,7 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener if (viewHolder != null) { final TaskDescription ad = viewHolder.taskDescription; startApplicationDetailsActivity(ad.packageName); - mBar.animateCollapse(); + mBar.animateCollapse(CommandQueue.FLAG_EXCLUDE_NONE); } else { throw new IllegalStateException("Oops, no tag on view " + selectedView); } |