Skip to content
Snippets Groups Projects
  • Kurt Partridge's avatar
    87bc3a4a
    Close ResearchLogger upon onFinishInputView · 87bc3a4a
    Kurt Partridge authored
    Previously, ResearchLogger#stop() was called both in
    LatinIME#onFinishInputView() and in LatinIME#onWindowHidden().  This
    resulted in multiple logs being written.
    
    Since onFinishInputView is the more reliable of the two (it is called
    in InputMethodService#onDestroy; onWindowHidden is not), the code now
    uses onFinishInputView as a stopping signal.
    
    Change-Id: Iae4b8c3bdab226027624eeab19b3737367e4a108
    87bc3a4a
    History
    Close ResearchLogger upon onFinishInputView
    Kurt Partridge authored
    Previously, ResearchLogger#stop() was called both in
    LatinIME#onFinishInputView() and in LatinIME#onWindowHidden().  This
    resulted in multiple logs being written.
    
    Since onFinishInputView is the more reliable of the two (it is called
    in InputMethodService#onDestroy; onWindowHidden is not), the code now
    uses onFinishInputView as a stopping signal.
    
    Change-Id: Iae4b8c3bdab226027624eeab19b3737367e4a108