summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJordan Demeulenaere <jdemeulenaere@google.com>2021-10-13 16:44:05 +0200
committerJordan Demeulenaere <jdemeulenaere@google.com>2021-10-13 16:51:44 +0200
commitd2dc31332a89a6f9eff46f6fc2353e9861cf9607 (patch)
tree71fde7bc4bfcd4d4d15f2893ee3f0c367e2c8ffc /tools/aapt2/java/JavaClassGenerator_test.cpp
parent837add11c3c09a0c2eaf4d34d52bf28c5f86d5c5 (diff)
Ensure that ghosted view is attached when calculating its matrix.
This CL ensures that the ghosted view is attached to a ViewGroup before calculating the matrix of that view. It could happen that the view would be detached after the animation was started, which would then crash SysUI when calling GhostView.calculateMatrix. I tested this CL manually by first reproducing this b/202668591 by detaching ghostedView from its parent after the animation started, and then confirmed that this fix prevents the animation from crashing. Test: Manual Bug: 202668591 Fixes: 202668591 Change-Id: I7bf0bedb4860a00f1c44cac9258ff5dc753fb355
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions