mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Do not translate taskbar icons in kids mode when IME present.
Test: manual Bug: 203749295 Change-Id: I6958ed95f1199c1178487134b92ff3ef0f15da2e
This commit is contained in:
@@ -204,8 +204,8 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
|
||||
// For gesture nav, nav buttons only show for IME anyway so keep them translated down.
|
||||
float defaultButtonTransY = alwaysShowButtons ? 0 : transForIme;
|
||||
mPropertyHolders.add(new StatePropertyHolder(mTaskbarNavButtonTranslationYForIme,
|
||||
flags -> (flags & FLAG_IME_VISIBLE) != 0, AnimatedFloat.VALUE, transForIme,
|
||||
defaultButtonTransY));
|
||||
flags -> (flags & FLAG_IME_VISIBLE) != 0 && !isInKidsMode, AnimatedFloat.VALUE,
|
||||
transForIme, defaultButtonTransY));
|
||||
|
||||
if (alwaysShowButtons) {
|
||||
initButtons(mNavButtonContainer, mEndContextualContainer,
|
||||
|
||||
Reference in New Issue
Block a user