Merge "Don't create new nav bar layer when IME is rendering nav buttons"

This commit is contained in:
Tony Wickham
2022-01-25 20:17:43 +00:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -256,6 +256,10 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ
return mNavMode == Mode.THREE_BUTTONS;
}
public boolean isGestureNav() {
return mNavMode == Mode.NO_BUTTON;
}
public int getLeftCornerRadius() {
return mLeftCorner == null ? 0 : mLeftCorner.getRadius();
}