commit | 637efbaa0a75c72461b325f3648ab4dababad0bb | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Tue Nov 19 13:53:29 2019 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Tue Nov 19 13:53:29 2019 -0500 |
tree | 238a5d6ba546d6e2b6c30000553f5bf8f5181e00 | |
parent | 2e82e39c56aa9b0f24af74fe27933de9f95c44a0 [diff] |
ImageDecoder: compare Strings with .equals() Bug: 143231863 Test: Infeasible? Previously we compared with "==", which requires that the two String objects be the same to return true. We want to return true if the two Strings are logically equal, even if they are different objects. Prior to this commit, we may have accidentally called openAssetFileDescriptor when we should have called openTypedAssetFileDescriptor. Change-Id: I9229039b752bafa9a9b85b914a62093dff1eec34