findLibrary() could return non-null string when it fails to find a lib

With Ia2525e736f91460a50f2def3d6a04bf3cf8c221d, findLibrary() can return
non-null string even when it fails to find a lib. The change was to give
a chance to the dynamic linker for searching the lib with the soname.

This change fixes the test_oneDex_addNative_findsLibrary test to reflect
the changed semantic of findLibrary().

Bug: 109720125
Test: run the test using forrest
Change-Id: I950a65e6fd4e892509d011fb48869ed4e27b10d2
1 file changed