diff --git a/LimeStudio/app/src/main/AndroidManifest.xml b/LimeStudio/app/src/main/AndroidManifest.xml
index 028ff3a2..0ff74ba8 100644
--- a/LimeStudio/app/src/main/AndroidManifest.xml
+++ b/LimeStudio/app/src/main/AndroidManifest.xml
@@ -72,68 +72,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LimeStudio/app/src/main/java/net/toload/main/hd/MainActivity.java b/LimeStudio/app/src/main/java/net/toload/main/hd/MainActivity.java
index 77169d86..bf9cc79d 100644
--- a/LimeStudio/app/src/main/java/net/toload/main/hd/MainActivity.java
+++ b/LimeStudio/app/src/main/java/net/toload/main/hd/MainActivity.java
@@ -282,7 +282,7 @@ protected void onCreate(Bundle savedInstanceState) {
Uri uri = intent.getData();
String fileName = getContentName(resolver, uri);
if(fileName==null) {
- uri.getLastPathSegment();
+ fileName=uri.getLastPathSegment();
}
InputStream input = null;
try {