diff options
author | Chet Haase <chet@google.com> | 2013-09-06 17:26:43 -0700 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2013-09-06 17:26:43 -0700 |
commit | 2a83181bd1a025eb8a1763b11ae9ba33925625b3 (patch) | |
tree | bd94704e1a7660704f61922bddcc6627ed4795ba /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 9b40bdf64420bf1585ccadd36d0a7d38f3c77865 (diff) |
TextChange transition now uses CharSequence instead of String
TextChange made a bad assumption that target text views contained
String objects as their text, which is not always the case. For example,
Gmail ActionBar text views may contain SpannableString objects, which
caused a crash due to a bad cast operation.
Fix is to simply use CharSequence instead of String as the value that
is being stored and set on the text view.
Issue #10651858 TextChange transition casts CharSequence to String when not necessarily safe
Change-Id: I3f67f5d5e39201dc0fd2edcd3e4243033cf9ae08
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions