Files
frameworks_base/core/java/android/content
Ryan Mitchell 9ff600f60a Remove ApkAssets access in finalizer
ResourcesProvider#finalize called ApkAssets#close. ApkAssets#close is
called during ApkAssets#finalize. If a ResourcesProvider and its
corresponding ApkAssets are finalized concurrently, there may be a
chance that the ApkAsset could be finalized first and then
ResourcesProvider calls ApkAssets#close on the object that has already
been finalized.

This may not fix the bug, but there is no reason to close the ApkAsset
during finalization of the ResourcesProvider.

Bug: 159041693
Test: none
Change-Id: I317ca982df2e11a18ccd6c95c74565dbac417bd6
2021-03-31 09:59:34 -07:00
..
2021-02-09 20:13:50 -08:00
2021-03-31 09:59:34 -07:00
2021-01-12 16:15:52 -08:00