feat: target sdk 34 (#405)
This commit is contained in:
parent
0902172965
commit
75ea33fd33
7 changed files with 17 additions and 15 deletions
|
@ -11,13 +11,13 @@ plugins {
|
|||
|
||||
android {
|
||||
namespace = "dev.jdtech.jellyfin"
|
||||
compileSdk = 33
|
||||
buildToolsVersion = "33.0.2"
|
||||
compileSdk = 34
|
||||
buildToolsVersion = "34.0.0"
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "dev.jdtech.jellyfin"
|
||||
minSdk = 27
|
||||
targetSdk = 33
|
||||
targetSdk = 34
|
||||
|
||||
val appVersionCode: Int by rootProject.extra
|
||||
val appVersionName: String by rootProject.extra
|
||||
|
|
|
@ -167,11 +167,12 @@ class PlayerGestureHelper(
|
|||
object : GestureDetector.SimpleOnGestureListener() {
|
||||
@SuppressLint("SetTextI18n")
|
||||
override fun onScroll(
|
||||
firstEvent: MotionEvent,
|
||||
firstEvent: MotionEvent?,
|
||||
currentEvent: MotionEvent,
|
||||
distanceX: Float,
|
||||
distanceY: Float,
|
||||
): Boolean {
|
||||
if (firstEvent == null) return false
|
||||
// Excludes area where app gestures conflicting with system gestures
|
||||
if (inExclusionArea(firstEvent)) return false
|
||||
// Disables seek gestures if view is locked
|
||||
|
@ -209,11 +210,12 @@ class PlayerGestureHelper(
|
|||
object : GestureDetector.SimpleOnGestureListener() {
|
||||
@SuppressLint("SetTextI18n")
|
||||
override fun onScroll(
|
||||
firstEvent: MotionEvent,
|
||||
firstEvent: MotionEvent?,
|
||||
currentEvent: MotionEvent,
|
||||
distanceX: Float,
|
||||
distanceY: Float,
|
||||
): Boolean {
|
||||
if (firstEvent == null) return false
|
||||
// Excludes area where app gestures conflicting with system gestures
|
||||
if (inExclusionArea(firstEvent)) return false
|
||||
// Disables volume gestures when player is locked
|
||||
|
|
|
@ -10,8 +10,8 @@ plugins {
|
|||
|
||||
android {
|
||||
namespace = "dev.jdtech.jellyfin.core"
|
||||
compileSdk = 33
|
||||
buildToolsVersion = "33.0.2"
|
||||
compileSdk = 34
|
||||
buildToolsVersion = "34.0.0"
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 27
|
||||
|
|
|
@ -8,8 +8,8 @@ plugins {
|
|||
|
||||
android {
|
||||
namespace = "dev.jdtech.jellyfin.data"
|
||||
compileSdk = 33
|
||||
buildToolsVersion = "33.0.2"
|
||||
compileSdk = 34
|
||||
buildToolsVersion = "34.0.0"
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 27
|
||||
|
|
|
@ -7,8 +7,8 @@ plugins {
|
|||
|
||||
android {
|
||||
namespace = "dev.jdtech.jellyfin.player.core"
|
||||
compileSdk = 33
|
||||
buildToolsVersion = "33.0.2"
|
||||
compileSdk = 34
|
||||
buildToolsVersion = "34.0.0"
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 27
|
||||
|
|
|
@ -9,8 +9,8 @@ plugins {
|
|||
|
||||
android {
|
||||
namespace = "dev.jdtech.jellyfin.player.video"
|
||||
compileSdk = 33
|
||||
buildToolsVersion = "33.0.2"
|
||||
compileSdk = 34
|
||||
buildToolsVersion = "34.0.0"
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 27
|
||||
|
|
|
@ -6,8 +6,8 @@ plugins {
|
|||
|
||||
android {
|
||||
namespace = "dev.jdtech.jellyfin.preferences"
|
||||
compileSdk = 33
|
||||
buildToolsVersion = "33.0.2"
|
||||
compileSdk = 34
|
||||
buildToolsVersion = "34.0.0"
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 27
|
||||
|
|
Loading…
Reference in a new issue