diff options
author | Chris Li <lihongyu@google.com> | 2021-11-02 16:36:56 +0800 |
---|---|---|
committer | Chris Li <lihongyu@google.com> | 2021-11-08 10:57:18 +0800 |
commit | e32aa4fd2b22b5caa75826dc4ec086d1eb7b832e (patch) | |
tree | 673f135d1a071ebd14bb4e25ed7ec8a99ad38981 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 8f7d253431b896f5025f945d490611eda5cc885f (diff) |
Fix NPE for animate frozen snapshot
Before, the snapshot can be null if the window is unfreezed but not
removed from the display changing list, or when it fails to take
screenshot (like because the display is not ready). Now, we make sure to
remove the window from the changing list in such cases.
Fix: 204400505
Test: atest WmTests:WindowContainerTests
Change-Id: I517232fc2ec689680a00b499495a4bad5a0d5f15
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions