summaryrefslogtreecommitdiff
path: root/libs/androidfw/tests/DynamicRefTable_test.cpp
AgeCommit message (Collapse)Author
2018-11-07Only resolve non-dynamic resource referencesRyan Mitchell
Only resolve non-dynamic references and attributes if the package is loaded as a library or if a shared library is attempting to retrieve its own resources. Bug: 116486668 Bug: 116620612 Test: libandroidfw_tests & manual test of broken apps & atest FieldsClassificationTest#testGetAlgorith Change-Id: Icb827796a65072a39452dbe577d5e18f085ea4e2
2018-08-24AFW: Lookup shared library resource idsRyan Mitchell
Shared libraries were failing to retrieve correct resource ids from the values of attributes in xml files. The packages of the shared ids were not changed from 0 to their runtime assigned package ids. Bug: 112776204 Test: atest FieldsClassificationTest#testGetAlgorithm Change-Id: I509bc7632f5ec3e9b644e590934e6cf569a4d938