summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2018-05-18 18:07:09 -0700
committerDavid Lin <dtwlin@google.com>2018-05-22 18:43:48 +0000
commitf38efd123a3b8ce7ddf85ca22d2195dba02f61c6 (patch)
treef0a775772ddae1c226bbdbfaec3d369398ac0fc7 /tools/aapt2/java/JavaClassGenerator.cpp
parent2d6dbbac04a3f47cbdce91476337a8c7d7c0d0eb (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 Merged-In: If3b02dfef480245210fd2c585c7c727de77a4a73 Change-Id: I53dece42424a6629e0fb406845f57ebbb06dffcb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions