commit | d4376badb481d53a284f61b6b5548281c55c01b5 | [log] [tgz] |
---|---|---|
author | Andrey Kulikov <andreykulikov@google.com> | Thu Oct 18 12:14:33 2018 +0100 |
committer | Andrey Kulikov <andreykulikov@google.com> | Thu Oct 18 14:59:52 2018 +0100 |
tree | 8b9e92c51826b871a0eef845ebefcd93bfb59cb1 | |
parent | 3699469549921420c38c3c9cd596fb57248d041e [diff] |
Reuse overlay view between two Visibility transitions Bug: 31362791 Instead of creating a new screenshot of the view every time previous visibility transition already did it or just added our startView to the overlay we can cache it and apply the animation to the same reused view. So the behaviour is the same(and expected) like in the case when no overlay is used. Test: test added in VisibilityTest Fix in AndroidX: aosp/772713 Change-Id: Iba4ab168722595eb19b9c681649a976462a5532b