Merge "[Navigation bar] Allow "right to left" gesture to launch search panel"
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user