aboutsummaryrefslogtreecommitdiff
path: root/tools/android/packaging/xbmc/src/XBMCTextureCache.java.in
blob: 09dd7265f5a0e0c4c9d7805b1adf7a1387903bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
    }
  }

}