OSDN Git Service

AAPT2: Fix overzealous AndroidManifest fully qualified class names
authorAdam Lesinski <adamlesinski@google.com>
Thu, 30 Nov 2017 00:27:44 +0000 (16:27 -0800)
committerAdam Lesinski <adamlesinski@google.com>
Thu, 30 Nov 2017 00:29:08 +0000 (16:29 -0800)
commit23034b911c60d4a24ca036436b3a3c138d904255
treefccd1980dfd69073cdb5da6ca65cc8ce23d9c272
parentbd03daf5a44818d9fb7e51ebf532c53b9e2e0697
AAPT2: Fix overzealous AndroidManifest fully qualified class names

ManifestFixer would go and fully qualify all elements with the attribute
'android:name', which is not correct, especially for cases like

  <uses-split android:name="foo" />

Test: make aapt2_tests
Change-Id: I4bea2550d0025179d2d48dca8c64e0cbf4451e99
tools/aapt2/link/ManifestFixer.cpp
tools/aapt2/link/ManifestFixer_test.cpp