Commit 3e6ea399 by Sebastián Katzer

Support for Android content:// scheme

parent 46b8f4f6
...@@ -91,6 +91,8 @@ public final class AssetUtil { ...@@ -91,6 +91,8 @@ public final class AssetUtil {
return getUriFromAsset(path); return getUriFromAsset(path);
} else if (path.startsWith("http")){ } else if (path.startsWith("http")){
return getUriFromRemote(path); return getUriFromRemote(path);
} else if (path.startsWith("content://")){
return Uri.parse(path);
} }
return Uri.EMPTY; return Uri.EMPTY;
......
...@@ -55,7 +55,6 @@ exports.applyPlatformSpecificOptions = function () { ...@@ -55,7 +55,6 @@ exports.applyPlatformSpecificOptions = function () {
defaults.group = null; defaults.group = null;
defaults.groupSummary = false; defaults.groupSummary = false;
defaults.summary = null; defaults.summary = null;
defaults.icon = null;
defaults.smallIcon = 'res://icon'; defaults.smallIcon = 'res://icon';
defaults.sticky = false; defaults.sticky = false;
defaults.autoClear = true; defaults.autoClear = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment