Merge "InsetsController: Maintain type user animation when restarting input" into rvc-dev

This commit is contained in:
Adrian Roos
2020-05-27 18:09:16 +00:00
committed by Android (Google) Code Review

View File

@@ -745,6 +745,10 @@ public class InsetsController implements WindowInsetsController, InsetsAnimation
consumer.getType(), animationType, consumer.isRequestedVisible()));
continue;
}
if (fromIme && animationType == ANIMATION_TYPE_USER) {
// App is already controlling the IME, don't cancel it.
continue;
}
typesReady |= InsetsState.toPublicType(consumer.getType());
}
if (DEBUG) Log.d(TAG, "show typesReady: " + typesReady);