Merge "Fix issue with touches falling through nav bar in 3 button nav" into tm-qpr-dev am: 354ad8b465
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20066574 Change-Id: I5164af3789f4abc324b9377369cdbe3888677149 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -541,10 +541,12 @@ public class NavigationBar extends ViewController<NavigationBarView> implements
|
||||
if (!mImeVisible) {
|
||||
// IME not showing, take all touches
|
||||
info.setTouchableInsets(InternalInsetsInfo.TOUCHABLE_INSETS_FRAME);
|
||||
return;
|
||||
}
|
||||
if (!mView.isImeRenderingNavButtons()) {
|
||||
// IME showing but not drawing any buttons, take all touches
|
||||
info.setTouchableInsets(InternalInsetsInfo.TOUCHABLE_INSETS_FRAME);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user