commit | c23b0165f86f2d4dde3010acf84138d75014a30a | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Thu Mar 26 19:23:51 2020 -0700 |
committer | Ryan Mitchell <rtmitchell@google.com> | Thu Mar 26 19:28:09 2020 -0700 |
tree | 60074d85a59b25f882f1426d67f6d7e8e59b026e | |
parent | 393c9121cea9e03762b3e5460d523b9d5393f6f7 [diff] |
Synchronize before calling unstableRemoveIf The call to unstableRemoveIf should be synchronized on the ResourcesManager instance since the collection belongs to the instance. Also remove dead code from the loader refactor to prevent apps from creating AssetManagers that return InputStreams instead of AssetInputStreams. Bug: 145510133 Test: boots Change-Id: I50bcfc8e882f3d8a7827688e32f68790dd226801