commit | 87bc3a4a62b28f9c64ced813a9af531a563b6cd9 | [log] [tgz] |
---|---|---|
author | Kurt Partridge <kep@google.com> | Wed Mar 20 11:28:31 2013 -0700 |
committer | Kurt Partridge <kep@google.com> | Mon Mar 25 17:31:25 2013 -0700 |
tree | e2a0ef0af746aa7e9396e6f5f10ab4f3d5723ce3 | |
parent | fb658d6c531de8cfd55e4d36bffc9ccabc401f94 [diff] |
Close ResearchLogger upon onFinishInputView 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