diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 323da8bd6..618290f94 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -1,23 +1,25 @@
-
-
-
-
+ package="org.schabi.newpipe">
+
+
+
+
+
+
+ android:configChanges="orientation|screenSize"
+ android:label="@string/app_name">
@@ -26,10 +28,10 @@
+ android:label="@string/title_videoitem_detail"
+ android:screenOrientation="portrait"
+ android:theme="@style/AppTheme">
@@ -76,20 +78,21 @@
-
-
+ android:theme="@style/VideoPlayerTheme"
+ tools:ignore="UnusedAttribute">
+
+ android:exported="false"
+ android:label="@string/background_player_name" />
+
-
+ android:label="@string/settings_activity_title">
+
+
+
diff --git a/app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java b/app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java
index ae80d6448..71284c99f 100644
--- a/app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java
+++ b/app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java
@@ -17,6 +17,7 @@ import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.Toast;
+import org.schabi.newpipe.errorhandling.ErrorActivity;
import org.schabi.newpipe.extractor.ExtractionException;
import org.schabi.newpipe.extractor.SearchEngine;
import org.schabi.newpipe.extractor.ServiceList;
@@ -240,6 +241,12 @@ public class VideoItemListActivity extends AppCompatActivity
}
PreferenceManager.setDefaultValues(this, R.xml.settings, false);
+
+
+ /* this is for debuging only if this is still pressent in master branch kill the programmer */
+ startActivity(new Intent(this, ErrorActivity.class));
+
+ //-------------------------------------------------------------------------
}
@Override
diff --git a/app/src/main/java/org/schabi/newpipe/VideoItemListFragment.java b/app/src/main/java/org/schabi/newpipe/VideoItemListFragment.java
index e6a6a5060..75f80f7ae 100644
--- a/app/src/main/java/org/schabi/newpipe/VideoItemListFragment.java
+++ b/app/src/main/java/org/schabi/newpipe/VideoItemListFragment.java
@@ -17,7 +17,6 @@ import java.io.IOException;
import java.util.List;
import org.schabi.newpipe.extractor.ExtractionException;
-import org.schabi.newpipe.extractor.ParsingException;
import org.schabi.newpipe.extractor.VideoPreviewInfo;
import org.schabi.newpipe.extractor.SearchEngine;
import org.schabi.newpipe.extractor.StreamingService;
diff --git a/app/src/main/java/org/schabi/newpipe/errorhandling/ErrorActivity.java b/app/src/main/java/org/schabi/newpipe/errorhandling/ErrorActivity.java
new file mode 100644
index 000000000..6529fa188
--- /dev/null
+++ b/app/src/main/java/org/schabi/newpipe/errorhandling/ErrorActivity.java
@@ -0,0 +1,15 @@
+package org.schabi.newpipe.errorhandling;
+
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+
+import org.schabi.newpipe.R;
+
+public class ErrorActivity extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_error);
+ }
+}
diff --git a/app/src/main/res/layout/activity_error.xml b/app/src/main/res/layout/activity_error.xml
new file mode 100644
index 000000000..378c66bdb
--- /dev/null
+++ b/app/src/main/res/layout/activity_error.xml
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/values-w820dp/dimens.xml b/app/src/main/res/values-w820dp/dimens.xml
new file mode 100644
index 000000000..63fc81644
--- /dev/null
+++ b/app/src/main/res/values-w820dp/dimens.xml
@@ -0,0 +1,6 @@
+
+
+ 64dp
+
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index 0eb887da1..cba909e4a 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -35,5 +35,8 @@
6sp
20dp
+
+ 16dp
+ 16dp
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index a4be457fc..a92c7ab33 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -88,6 +88,9 @@
Blocked by GEMA.
Could not setup download menu.
This is a LIVE STREAM. These are not yet supported.
+
+ Sorry that shouldn#t have happened.
+ Report error via mail