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
This commit is contained in:
John Spurlock
2014-01-29 15:42:34 +00:00
committed by Android Git Automerger

View File

@@ -521,6 +521,11 @@ public class NavigationBarView extends LinearLayout {
Log.d(TAG, "reorient(): rot=" + mDisplay.getRotation()); 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); setNavigationIconHints(mNavigationIconHints, true);
} }