diff options
| author | 2013-06-27 15:27:09 -0700 | |
|---|---|---|
| committer | 2013-06-27 15:40:46 -0700 | |
| commit | 55b6f95ee4ace96c97508bcd14483fb4e9dbeaa0 (patch) | |
| tree | f66490c89db4ac96004144731a89d1956108f1a0 /include/androidfw/KeycodeLabels.h | |
| parent | 9feab843ac8139f4e971d93fd767470d0d727e41 (diff) | |
Track the atlas' generation ID
Bug #9589379
If the atlas is terminated/reinitialized and a view does not invalidate
in between it might end up using a stale AssetAtlas::Entry. This change
is similar to how 9patch meshes are cached in DrawPatchOp: we simply
track the generation ID of the cache to make sure we always use the
latest data.
Change-Id: Ib5abb3769d2ce0eabe9adc04e320ca27c422019e
Diffstat (limited to 'include/androidfw/KeycodeLabels.h')
0 files changed, 0 insertions, 0 deletions