commit | 4df6d70e4c03b6fca0078f67ad4f46ac373dfe6e | [log] [tgz] |
---|---|---|
author | Ahaan Ugale <augale@google.com> | Tue May 25 15:54:45 2021 -0700 |
committer | Ahaan Ugale <augale@google.com> | Thu May 27 09:31:58 2021 -0700 |
tree | abcb7f740b899cfdbdda7b209a075d3c7017bff6 | |
parent | ad970d641e152b627b435a602da236515c58f973 [diff] |
TranslationResponseValue: Override equals() behaviour for Extras. Bundle doesn't override equals(). In TranslationResponseValue, the Extras is used as a simple value type, so contents can be compared. Bundle.kindofEquals probably works here, but this change just makes it work for empty bundles for now, to fix a bug in animation. Bug: 144292180 Test: atest CtsTranslationTestCases Change-Id: I68daac8cafceb1aa446ee89ba1405595b22e6213