commit | 22cbc0fee280788c367aa897cd2518ce82656ace | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Wed Jan 15 11:00:27 2020 -0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue Feb 11 19:06:40 2020 +0000 |
tree | b1d2927a4354d2c6dd10a2d7796898dee4a528a2 | |
parent | aabb952afa6c7543d7aee1f1a7f67df9728db9ed [diff] |
Add CTS test for AssetManager double destroy If an AssetManager is closed and then finalized before assets that were opened with that AssetManager were finalized, nativeDestroy will be ran twice. Test that the fix the double destroy issue works as expected. Bug: 144028297 Test atest android.security.cts.AssetManagerTest Change-Id: Iecbb0cc60d1e2f93d7ec1fa263be2910de1a78a8 (cherry picked from commit 210730e5627e52b6f56a1765e242913908af72bd)