summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2013-09-18 15:12:35 -0700
committerChet Haase <chet@google.com>2013-09-19 17:18:55 -0700
commit9b985721dafaa28d1aa34499d23a83afc6d0a2fa (patch)
treefc12c94401451364cc25cefb2fb6983a8fa10304 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta2d65108dd32a0836fe08f0c72efdd5c727dad44 (diff)
Add equals() and hashcode() to SpannableString
ActionBar uses a transition to animate text changes. This transition depends on testing the equality of start/end text values in CharSequence objects. Without equals(), SpannableString will return false for objects whose references are different, but whose text is exactly the same. This CL adds the equals() method, and the accompanying hashcode method, to ensure that two Spanned implementations will always be equal if their text and span data are equal. Issue #10760075 Wrong unread count in actionbar Change-Id: I5e77d40dd302eca035e8c56d40f3cd0aef8e6424
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions