diff options
author | Ben Lin <linben@google.com> | 2016-07-11 16:25:33 -0700 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2016-07-12 23:42:56 +0000 |
commit | d9ba201f592d7112f8c41654dfdc05dd182a82bb (patch) | |
tree | b3224573773908f310f0a0aae34791c8a3b4f112 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ab1b52a0c4804493232f28b1f08fce31db171884 (diff) |
Trapping backspace at EditText level to prevent popping Docs.
When the EditText is empty, pressing backspace on soft/hardware keyboard
will call on the EditText's OnKeyListener. Since we don't handle
backspace, it will then bubble up to Activity-level, which will then pop
the document stack due to the feature of using backspace as navigation.
This will trap the call correctly if the EditText is empty.
Bug: 30066261
Change-Id: I231507b9469bfa52478872491f1d2713a1ac58ba
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions