diff options
| author | Jordan Demeulenaere <jdemeulenaere@google.com> | 2022-01-17 11:28:09 +0100 |
|---|---|---|
| committer | Jordan Demeulenaere <jdemeulenaere@google.com> | 2022-02-16 14:42:03 +0100 |
| commit | 6e77c58de86cb973030851ef435da965e429e5a2 (patch) | |
| tree | e528318839b82683fb7592c7f304cec73844ac58 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 406e462e4564276b52d933171edb5a895363a1f7 (diff) | |
Animate dialog to app launches (1/2)
See b/214961273#comment1 and #comment2 for before/after videos as well
as technical explanations on how this animation works.
This CL also enables the generation of Java 8 default method bodies in
interfaces, in the animation library. This is necessary to avoid
unexpected behaviors when using @JvmDefault on an interface +
delegation, which is a common pattern when using the animation library.
See [1] and [2] for more info. Note that this is enabled only for the
animation library (and not SystemUI(Lib)) to avoid breaking code
depending on the (now deprecated) @JvmDefault method in SysUI.
[1] https://youtrack.jetbrains.com/issue/KT-34612
[2] https://blog.jetbrains.com/kotlin/2020/07/kotlin-1-4-m3-generating-default-methods-in-interfaces/
Bug: 214961273
Test: atest DialogLaunchAnimatorTest
Test: Manual
Change-Id: I27d53400a5dc852543a68f5b6f107d9eb08b06db
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
