@takeoffmedia/react-native-penthera 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/src/main/java/com/takeoffmediareactnativepenthera/virtuoso/OfflineVideoEngine.kt
CHANGED
|
@@ -280,7 +280,6 @@ class OfflineVideoEngine(private val context: ReactApplicationContext) {
|
|
|
280
280
|
|
|
281
281
|
|
|
282
282
|
fun getByAssetId(assetId: String): String? {
|
|
283
|
-
try {
|
|
284
283
|
// load asset if it has already been downloaded
|
|
285
284
|
val list: MutableList<IIdentifier> = virtuoso.assetManager.getByAssetId(assetId)
|
|
286
285
|
|
|
@@ -305,9 +304,6 @@ class OfflineVideoEngine(private val context: ReactApplicationContext) {
|
|
|
305
304
|
return gson.toJson(keyValueMap)
|
|
306
305
|
}
|
|
307
306
|
}
|
|
308
|
-
} catch (e: Exception) {
|
|
309
|
-
e.printStackTrace()
|
|
310
|
-
}
|
|
311
307
|
return null
|
|
312
308
|
}
|
|
313
309
|
|