summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTodd Kennedy <toddke@google.com>2018-11-13 10:50:39 -0800
committerTodd Kennedy <toddke@google.com>2018-11-13 10:50:39 -0800
commit7bfb3ae8c8733b54c141d3b1ce29f22b7bc26edd (patch)
treedb5b24dad909f6439f005ba34f78b1e5a67d8891 /tools/aapt2/java/JavaClassGenerator.cpp
parentbbfd91034bf5dd4747786f80becb5878eac12d91 (diff)
Remove arch check
In P, we accepted a public patch -- see https://android-review.googlesource.com/c/platform/frameworks/base/+/543520 that prevented system apps from removing multi-arch support. While the idea was sound -- the intent was to prevent accepting an update that accidentally removed access to native libraries -- it was lacking in enforcement and only created update issues. The proper solution would be for the package to declare they provide native libraries that are intended for use by other packages. Then, the platform would prevent access to any native library that did not have this declaration. In this way, packages can declare their contract with other packages and the platform enforces this contract. Without this level of enforcement, the current check does not actually protect anything. And, in some instances, it only gets in the way. We'll remove the check until we get the correct, complete solution if it's critical enough to schedule and implement. Test: Manual Change-Id: Iaa4be28eec64e3b6eae3b6ec154946351f63f0e5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions