Commit 210730e5 authored by Ryan Mitchell's avatar Ryan Mitchell
Browse files

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
parent ca0c3eaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment