diff options
author | Winson Chung <winsonc@google.com> | 2014-09-08 23:05:37 +0200 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2014-09-12 13:56:32 +0000 |
commit | 6074c5c15117bb17defb90bdb9fe247d0df47c70 (patch) | |
tree | a50cb18eb4fa391a4254e84b6ac5474456343575 /packages/SystemUI/src/com/android/systemui/recents | |
parent | 91db5ea149818b765c8a01e13ccfbb1e3e1109df (diff) | |
download | frameworks_base-6074c5c15117bb17defb90bdb9fe247d0df47c70.zip frameworks_base-6074c5c15117bb17defb90bdb9fe247d0df47c70.tar.gz frameworks_base-6074c5c15117bb17defb90bdb9fe247d0df47c70.tar.bz2 |
Fixing issue with stack not being fully centered. (Bug 17015153)
Change-Id: Id9d0d77d03ff0291fccb717d81754c239d8442b4
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java b/packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java index ed5c126..2a2caa0 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +++ b/packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java @@ -347,8 +347,8 @@ public class RecentsConfiguration { Rect searchBarBounds = new Rect(); getSearchBarBounds(windowWidth, windowHeight, topInset, searchBarBounds); if (isLandscape && hasTransposedSearchBar) { - // In landscape, the search bar appears on the left - taskStackBounds.set(searchBarBounds.right, topInset, windowWidth - rightInset, windowHeight); + // In landscape, the search bar appears on the left, but we overlay it on top + taskStackBounds.set(0, topInset, windowWidth - rightInset, windowHeight); } else { // In portrait, the search bar appears on the top (which already has the inset) taskStackBounds.set(0, searchBarBounds.bottom, windowWidth, windowHeight); |