diff options
author | Clara Bayarri <clarabayarri@google.com> | 2015-05-15 16:32:50 +0100 |
---|---|---|
committer | Clara Bayarri <clarabayarri@google.com> | 2015-05-15 16:32:50 +0100 |
commit | 5b7665a1f2403a03c1f9baf73a4aa8f5a66b1352 (patch) | |
tree | c5da08a64615f5b4329bdf8ea729dfceee71006a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions