commit | 6419ebff5c553a87ff30f3e298b68519f82420e0 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Apr 27 15:31:21 2020 -0400 |
committer | Leon Scroggins <scroggo@google.com> | Tue Apr 28 14:14:30 2020 +0000 |
tree | 858a491da47b86dfe336ee428b1a1e0e6ebb4238 | |
parent | 3b8aa159118bf83ef8a11834f2509e50d3c10fe3 [diff] |
Fix .equals call in ImageDecoder Bug: 154954875 Bug: 143231863 Test: I93b01cb60a8c76110ea2ff4250d0048512629d8d I9229039b752bafa9a9b85b914a62093dff1eec34 switched from "==" to ".equals", but it did not take into account that Uri#getScheme() can return null. Switch around the .equals check so that it is called on SCHEME_CONTENT, which will never be null. Change-Id: I0df5d2407a32fad0e21e597697af293fbc2fb315 Merged-In: I0df5d2407a32fad0e21e597697af293fbc2fb315