Merge pull request #112507 from Benjamin-Dobell/fix/android-assets-pck-loading
Android: Fix loading sparse `.pck` from `assets://`
This commit is contained in:
@ -106,6 +106,7 @@ internal class AssetData(context: Context, private val filePath: String, accessF
|
|||||||
|
|
||||||
override fun seek(position: Long) {
|
override fun seek(position: Long) {
|
||||||
try {
|
try {
|
||||||
|
inputStream.reset();
|
||||||
inputStream.skip(position)
|
inputStream.skip(position)
|
||||||
|
|
||||||
this.position = position
|
this.position = position
|
||||||
|
|||||||
Reference in New Issue
Block a user