hotwired / turbo-android

Android framework for making Turbo native apps
MIT License
408 stars 51 forks source link

URI helper SQL exception fix #237

Closed jhutarek closed 2 years ago

jhutarek commented 2 years ago

TurboUriHelper assumed that DISPLAY_NAME and SIZE columns always existed when accessing files through a content provider. That turned out to be not the case, especially on Samsung devices, so now we handle these columns as optional, safely falling back to default values if they don't exist.