aboutsummaryrefslogtreecommitdiff
path: root/tools/android/packaging/xbmc/src/XBMCTextureCache.java.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/android/packaging/xbmc/src/XBMCTextureCache.java.in')
-rw-r--r--tools/android/packaging/xbmc/src/XBMCTextureCache.java.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/android/packaging/xbmc/src/XBMCTextureCache.java.in b/tools/android/packaging/xbmc/src/XBMCTextureCache.java.in
new file mode 100644
index 0000000000..09dd7265f5
--- /dev/null
+++ b/tools/android/packaging/xbmc/src/XBMCTextureCache.java.in
@@ -0,0 +1,32 @@
+package @APP_PACKAGE@;
+
+import android.util.Log;
+
+/**
+ * Created by Maven85 on 16/03/2020.
+ */
+
+public class XBMCTextureCache
+{
+ native String _unwrapImageURL(String image);
+
+ private static final String TAG = "@APP_NAME@";
+
+ public XBMCTextureCache()
+ {
+ }
+
+ public String unwrapImageURL(String image)
+ {
+ try
+ {
+ return _unwrapImageURL(image);
+ }
+ catch (Exception e)
+ {
+ Log.e(TAG, "unwrapImageURL: Exception: " + e.getMessage());
+ return null;
+ }
+ }
+
+}