Merge "InsetsController: Maintain type user animation when restarting input" into rvc-dev am: 792dc29a6e am: f879f1cbf2 am: c42264c804
Change-Id: I5146e43ef1171e6910da2d1e790e95aa58ed2924
This commit is contained in:
@@ -745,6 +745,10 @@ public class InsetsController implements WindowInsetsController, InsetsAnimation
|
|||||||
consumer.getType(), animationType, consumer.isRequestedVisible()));
|
consumer.getType(), animationType, consumer.isRequestedVisible()));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (fromIme && animationType == ANIMATION_TYPE_USER) {
|
||||||
|
// App is already controlling the IME, don't cancel it.
|
||||||
|
continue;
|
||||||
|
}
|
||||||
typesReady |= InsetsState.toPublicType(consumer.getType());
|
typesReady |= InsetsState.toPublicType(consumer.getType());
|
||||||
}
|
}
|
||||||
if (DEBUG) Log.d(TAG, "show typesReady: " + typesReady);
|
if (DEBUG) Log.d(TAG, "show typesReady: " + typesReady);
|
||||||
|
|||||||
Reference in New Issue
Block a user