Merge tag 'android-16.0.0_r3' into 16-dev
Android 16.0.0 Release 3 (BP3A.250905.014) Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
@@ -105,7 +105,7 @@ public class KeyboardInsetAnimationCallback extends WindowInsetsAnimation.Callba
|
||||
} else {
|
||||
// Manually controlled animation: Set translation to keyboard height.
|
||||
int translationY = -windowInsets.getInsets(WindowInsets.Type.ime()).bottom;
|
||||
if (mView.getParent() instanceof View) {
|
||||
if (translationY < 0 && mView.getParent() instanceof View) {
|
||||
// Offset any translation of the parent (e.g. All Apps parallax).
|
||||
translationY -= ((View) mView.getParent()).getTranslationY();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user