| commit | 6eadef9f47720bfd160e7cdc85c2ce667ef4ba30 | [log] [tgz] |
|---|---|---|
| author | Sergey Prigogin <[email protected]> | Wed Mar 06 14:52:50 2019 -0800 |
| committer | Jerome Gaillard <[email protected]> | Mon Apr 08 13:47:12 2019 +0100 |
| tree | 92ab560df38ee3d171812a859b90ca48b248a159 | |
| parent | 315197ed7f402b0266e4ac75291515f096cfd7d0 [diff] |
Don't leak the last used AssetRepository The BridgeAssetManager is a long-lived object, but the AssetRepository referenced by it is not. To prevent AssetRepository from leaking we clear a reference to it from the BridgeAssetManager when RenderAction is teared down. Add nullablity annotations to BridgeAssetManager. Test: existing Bug: 73826291 Change-Id: I123ced44dff887321dc7aa1adf87ab7fa9a95970