diff --git a/app/build.gradle b/app/build.gradle
index fd812cefb3e..e8a3f14b6f4 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -8,14 +8,14 @@ plugins {
}
android {
- compileSdk 32
+ compileSdk 33
namespace 'org.schabi.newpipe'
defaultConfig {
applicationId "org.schabi.newpipe"
resValue "string", "app_name", "NewPipe"
minSdk 21
- targetSdk 29
+ targetSdk 33
versionCode 990
versionName "0.24.0"
@@ -107,7 +107,7 @@ ext {
groupieVersion = '2.10.1'
markwonVersion = '4.6.2'
- leakCanaryVersion = '2.5'
+ leakCanaryVersion = '2.9.1'
stethoVersion = '1.6.0'
mockitoVersion = '4.0.0'
assertJVersion = '3.23.1'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index be14274aa1c..7a0eacdf6d9 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -24,11 +24,12 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:logo="@mipmap/ic_launcher"
- android:theme="@style/OpeningTheme"
android:resizeableActivity="true"
+ android:theme="@style/OpeningTheme"
tools:ignore="AllowBackup">
@@ -39,7 +40,9 @@
-
+
@@ -47,7 +50,7 @@
@@ -56,15 +59,18 @@
@@ -73,6 +79,7 @@
@@ -85,13 +92,18 @@
-
+
+
@@ -99,6 +111,7 @@
@@ -109,6 +122,7 @@
@@ -354,30 +369,30 @@
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
@@ -386,11 +401,17 @@
android:exported="false" />
-
+
-
+
-
+
diff --git a/app/src/main/java/org/schabi/newpipe/player/gesture/PopupPlayerGestureListener.kt b/app/src/main/java/org/schabi/newpipe/player/gesture/PopupPlayerGestureListener.kt
index 666ea6a461f..a540c0ab02f 100644
--- a/app/src/main/java/org/schabi/newpipe/player/gesture/PopupPlayerGestureListener.kt
+++ b/app/src/main/java/org/schabi/newpipe/player/gesture/PopupPlayerGestureListener.kt
@@ -160,15 +160,15 @@ class PopupPlayerGestureListener(
}
}
- override fun onLongPress(e: MotionEvent?) {
+ override fun onLongPress(e: MotionEvent) {
playerUi.updateScreenSize()
playerUi.checkPopupPositionBounds()
playerUi.changePopupSize(playerUi.screenWidth)
}
override fun onFling(
- e1: MotionEvent?,
- e2: MotionEvent?,
+ e1: MotionEvent,
+ e2: MotionEvent,
velocityX: Float,
velocityY: Float
): Boolean {