summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-01-29 15:42:34 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-29 15:42:34 +0000
commit0dbcd7d99f37967f2ee7a8fad113df97b6a94fe7 (patch)
tree4e49da397d318c6bab3d830b7e325aabaf6a0a71 /packages
parent9ecada44042c49516d781281bbe0cba4e0af51a2 (diff)
parent2d35ba4d4a43036706638ca0e96e5e1a9904d2af (diff)
downloadframeworks_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.java5
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);
}