diff options
author | John Spurlock <jspurlock@google.com> | 2014-01-29 15:42:34 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-01-29 15:42:34 +0000 |
commit | 0dbcd7d99f37967f2ee7a8fad113df97b6a94fe7 (patch) | |
tree | 4e49da397d318c6bab3d830b7e325aabaf6a0a71 /packages | |
parent | 9ecada44042c49516d781281bbe0cba4e0af51a2 (diff) | |
parent | 2d35ba4d4a43036706638ca0e96e5e1a9904d2af (diff) | |
download | frameworks_base-0dbcd7d99f37967f2ee7a8fad113df97b6a94fe7.zip frameworks_base-0dbcd7d99f37967f2ee7a8fad113df97b6a94fe7.tar.gz frameworks_base-0dbcd7d99f37967f2ee7a8fad113df97b6a94fe7.tar.bz2 |
am 2d35ba4d: am d12f4eb8: Merge "[Navigation bar] Allow "right to left" gesture to launch search panel"
* commit '2d35ba4d4a43036706638ca0e96e5e1a9904d2af':
[Navigation bar] Allow "right to left" gesture to launch search panel
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java index 839016d..9589e8b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java @@ -521,6 +521,11 @@ public class NavigationBarView extends LinearLayout { Log.d(TAG, "reorient(): rot=" + mDisplay.getRotation()); } + // swap to x coordinate if orientation is not in vertical + if (mDelegateHelper != null) { + mDelegateHelper.setSwapXY(!mVertical); + } + setNavigationIconHints(mNavigationIconHints, true); } |