commit | 5b7665a1f2403a03c1f9baf73a4aa8f5a66b1352 | [log] [tgz] |
---|---|---|
author | Clara Bayarri <clarabayarri@google.com> | Fri May 15 16:32:50 2015 +0100 |
committer | Clara Bayarri <clarabayarri@google.com> | Fri May 15 16:32:50 2015 +0100 |
tree | c5da08a64615f5b4329bdf8ea729dfceee71006a | |
parent | be752b1f28f1f3724b235e3f0a77b4c07c40e631 [diff] |
Fix Cancelling a text action activity deletes the selected text The implementation of onActivityResult in TextView did not check the result code, hence treating the cancelled activity result as a replacement by empty text. Also added tests to catch this case and basic usage. Bug: 21183019 Change-Id: Ibdafe89474dd69c5b70c67ec98fed46656f9fdcf