SQLiteDatabase.loadlibs() using full system directory path to load shared libs

I have a Android system app that loads sqlcipher .so libs from /system/libs. But when app gets updated, the updated app gets installed in /data and it doesn’t pick the updated libs packged with the new version instead always finds the system libs. The problem is with System.LoadLibrary() calls in SQLiteDatabase.loadlibs() function. We need a API with System.Load() calls that can take full system path to the libs that can then load libs from workingDir instead of system lib. Can we get this missing API to help solve this issue or is there an alternate solution to solve my issue.

Thanks,
CK

Hi @DellDroid_Test

We can look at modifying the loading behavior, have you considered sending a pull request? I believe an example of what you might be looking for is found here?