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

Change-Id: I8219b551b000c85b7450d7654896f3983b8e55a8
This commit is contained in:
Adrian Roos
2020-05-27 18:37:50 +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);