public Asset OpenNonAsset ( final String filename , Asset . AccessMode mode , Ref < ApkAssetsCookie > out_cookie ) { ATRACE_CALL ( ) ; for ( int i = apk_assets_ . size ( ) - 1 ; i >= 0 ; i -- ) { Asset asset = apk_assets_ . get ( i ) . Open ( filename , mode ) ; if ( isTruthy ( asset ) ) { if ( out_cookie != null ) { out_cookie . set ( ApkAssetsCookie . forInt ( i ) ) ; } return asset ; } } if ( out_cookie != null ) { out_cookie . set ( K_INVALID_COOKIE ) ; } return null ; }
is inconsistent for split APKs .