commit | 2fe0cffa8dce1712fb5b568ab06e13857ef4f7c1 | [log] [tgz] |
---|---|---|
author | Scott Kennedy <skennedy@google.com> | Thu Feb 14 18:39:37 2013 -0800 |
committer | Scott Kennedy <skennedy@google.com> | Thu Feb 14 18:39:37 2013 -0800 |
tree | dff0de1e3ddd2ac7c11f17030251ab84485b53c3 | |
parent | 54d43c67449dfe2df323d138e57d8199c4ba6d37 [diff] |
Don't jump focus out of the View when the Activity starts In an Activity where a RecipientEditTextView has initial focus, if you start the Activity by pressing the enter key on a keyboard (like on a button), it would appear the onKeyUp event is handled in the new Activity, causing this View's enter-handling logic to run. By moving the logic into onKeyDown, we can avoid this situation. Bug: 8013052 Change-Id: I48d3e903071954f5b73f4860ea87733c6eacd2dd