commit | dccc46efb909c320d6a7f8cd1d6bf49f6336cbe8 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Fri Jul 26 08:14:09 2019 +0900 |
committer | Jiyong Park <jiyong@google.com> | Fri Jul 26 08:14:09 2019 +0900 |
tree | 041dcec328b6b2f432bc61f2a842203379eb172d | |
parent | 9faadb564494275b34c9202812b85538ff265d5f [diff] |
Don't fail catastrophically on non-existing namespace When a new namespace is added to ld.config.txt, it has to be reflected to native_loader_test.cpp. However, failing to do so crashes the test instead of showing an error message that the namespace hasn't been added. Fixing the issue by not returning nullptr when the namespace isn't found. Bug: 138304345 Test: libnativeloader_test Change-Id: I9eee1293956caac69f95a946604a2e6f665bde89