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

Change-Id: I6a4f9a326058abdadf284bbf6748405b4c982d20
This commit is contained in:
Adrian Roos
2020-05-27 18:23:40 +00:00
committed by Automerger Merge Worker

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);