Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[droid] create android addon platform filter

  • Loading branch information...
commit ca6a9b82cb7551113805db17da698f282fedaa96 1 parent f17a646
Cory Fields authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 xbmc/addons/AddonManager.cpp
View
4 xbmc/addons/AddonManager.cpp
@@ -589,7 +589,9 @@ bool CAddonMgr::PlatformSupportsAddon(const cp_plugin_info_t *plugin) const
{
if (platforms[i] == "all")
return true;
-#if defined(_LINUX) && !defined(TARGET_DARWIN)
+#if defined(TARGET_ANDROID)
+ if (platforms[i] == "android")
+#elif defined(_LINUX) && !defined(TARGET_DARWIN)
if (platforms[i] == "linux")
#elif defined(_WIN32) && defined(HAS_SDL_OPENGL)
if (platforms[i] == "wingl")
Please sign in to comment.
Something went wrong with that request. Please try again.