commit | 630cb4e882a7fec160bc9f8a3b5688be0fddd3fc | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Thu Mar 24 00:50:33 2022 +0000 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Thu Mar 24 06:54:13 2022 +0000 |
tree | c75f158ef2b04c8cb68f9dc559f6cfcdd73d6ad5 | |
parent | 9292b88f07dff23b6dcafff07bfdeb2e67809149 [diff] |
Fix expected system links when there are extended public libraries on the device. This fix accounts for this code path: https://cs.android.com/android/platform/superproject/+/master:art/libnativeloader/library_namespaces.cpp;l=278;drc=cab0d313ba4c938e2f19cd9d1daf361dc5a99dca It only fails on devices that specify libraries in public.libraries-<companyname>.txt files. Test: On an ordinary device that doesn't already have such a file: adb root && adb remount && adb reboot && \ adb wait-for-device && adb remount adb shell \ "echo libx.google.so > system_ext/etc/public.libraries-google.txt" atest libnativeloader_test adb shell rm system_ext/etc/public.libraries-google.txt atest libnativeloader_test Bug: 225768865 Change-Id: Ifb0a9cc5f044107a4baf2136a11feff6c34cd596