Skip to content
Snippets Groups Projects
  • Jean Chalard's avatar
    2a5ec003
    Don't trim newer inputpointers with old data · 2a5ec003
    Jean Chalard authored
    We already have a mechanism to avoid this crash, but it wasn't
    used every time it needed to. It's possible that ending a batch
    input and starting a batch input happen while suggestions
    are being pulled out, which would result in pointers that have
    been reset being passed for trimming.
    Just increasing the sequence number should get rid of the
    problem.
    
    Bug: 12178124
    Change-Id: I36ef3bc8a78679bc09daa39e665f5ce1bab50c2a
    2a5ec003
    History
    Don't trim newer inputpointers with old data
    Jean Chalard authored
    We already have a mechanism to avoid this crash, but it wasn't
    used every time it needed to. It's possible that ending a batch
    input and starting a batch input happen while suggestions
    are being pulled out, which would result in pointers that have
    been reset being passed for trimming.
    Just increasing the sequence number should get rid of the
    problem.
    
    Bug: 12178124
    Change-Id: I36ef3bc8a78679bc09daa39e665f5ce1bab50c2a
InputLogic.java 104.06 KiB