• Shaka Huang's avatar
    Fix error loading libsqlite.so · cf589f8c
    Shaka Huang authored
    Vendors are always adding “extra libraries” in /vendor/lib* for their own sake, in this case AS*S loaded with customized `libicuuc.so` for Zenf*ne 5z and led to the failure of dynamic loading libsqlite.so:
    
    <quote>
    db: dlopen failed: cannot locate symbol "UCNV_FROM_U_CALLBACK_ESCAPE_63" referenced by "/apex/com.android.runtime/lib64/libandroidicu.so"...
    </quote>
    Signed-off-by: 's avatarShaka Huang <shakalaca@gmail.com>
    
    * Minor optimizations
    Co-authored-by: 's avatarJohn Wu <topjohnwu@gmail.com>
    cf589f8c
db.cpp 9.77 KB