Skip to content
Snippets Groups Projects
  • Jean Chalard's avatar
    6912342a
    Fix a bug with bad view reuse. · 6912342a
    Jean Chalard authored
    There are many ways to fix this problem but this is the most
    direct way. Removing a view from the cache when any animation
    is started will ensure it won't be used again, and will be garbage
    collected when it's possible. Since views are created on demand
    anyway, a new one will just get created when needed, and that's
    it.
    
    Bug: 9400128
    Change-Id: I4945d2859d642e79694d51ae90cf4f5bde9a5f1d
    6912342a
    History
    Fix a bug with bad view reuse.
    Jean Chalard authored
    There are many ways to fix this problem but this is the most
    direct way. Removing a view from the cache when any animation
    is started will ensure it won't be used again, and will be garbage
    collected when it's possible. Since views are created on demand
    anyway, a new one will just get created when needed, and that's
    it.
    
    Bug: 9400128
    Change-Id: I4945d2859d642e79694d51ae90cf4f5bde9a5f1d