commit | 799dd1cf6b7f4436b699ffa072b285b304f6928e | [log] [tgz] |
---|---|---|
author | lumark <lumark@google.com> | Thu Nov 08 20:12:54 2018 +0800 |
committer | lumark <lumark@google.com> | Thu Nov 08 20:15:46 2018 +0800 |
tree | 6260c42e1f4b7c95a74ab2e774c71eb78545430d | |
parent | b2117bbc3aa853cd7c3db3878be52e2137f7f3df [diff] |
Fix ZOrderingTest got NPE during display creation. ag/5431947 modified HierarchyRecordingBuilderFactory.make() & HierarchyRecorder.build() for SurfaceControl creation that will set mTransaction as null after method called. It will got NPE when creating the second SurfaceControl instance during DisplayContent creation, remove the null assigment to fix this case. Bug: 113800711 Test: atest FrameworksServicesTests:ZOrderingTests Change-Id: I791046afdc2f371e37c2f7d3c36b7f2484339e08