summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2018-05-18 18:07:09 -0700
committerMichael Wright <michaelwr@google.com>2018-05-22 18:21:59 +0100
commit32fa5931f9ddb76ede0d3471b994a715aab27c46 (patch)
tree77086ed5a3d9f066f7f6fa209990d2f4e5465167 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent094b761cb9ebc94df20fe7c27a5777c7dadbb4de (diff)
Uncanonicalize URIs before comparing them.
In order to ensure we maintain compatibility, we now configure the canonical URIs instead of the raw URIs. Correspondingly, we need to uncanonicalize before comparing them. Note that we uncanonicalize the configured URI, rather than canonicalizing the one given to us. This is because the canonicalization format might change (e.g. add extra parameters) at which point they'll no longer by equal, but should always uncanonicalize to the same value. Bug: 75947705 Test: manual Change-Id: If3b02dfef480245210fd2c585c7c727de77a4a73
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions