diff options
| author | 2014-01-29 07:40:00 -0800 | |
|---|---|---|
| committer | 2014-01-29 07:40:00 -0800 | |
| commit | 2d35ba4d4a43036706638ca0e96e5e1a9904d2af (patch) | |
| tree | a9456911748ee59b5a60c3c6c3fbd3943e3e3f80 | |
| parent | dfd4f5232c87c51fe639b594fd210b4073eca42b (diff) | |
| parent | d12f4eb8cb986d710aaf98a9d6b8f66803d182d6 (diff) | |
am d12f4eb8: Merge "[Navigation bar] Allow "right to left" gesture to launch search panel"
* commit 'd12f4eb8cb986d710aaf98a9d6b8f66803d182d6':
  [Navigation bar] Allow "right to left" gesture to launch search panel
| -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 839016d7a1de..9589e8ba2443 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);      }  |