From 0be290a9fedf03937e55b8d6adffad4f4a90b1f0 Mon Sep 17 00:00:00 2001 From: okjack Date: Wed, 10 Jul 2024 18:06:05 +0800 Subject: [PATCH 1/2] Update CustomKeyboard.java --- .../java/com/fongmi/android/tv/ui/custom/CustomKeyboard.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/leanback/java/com/fongmi/android/tv/ui/custom/CustomKeyboard.java b/app/src/leanback/java/com/fongmi/android/tv/ui/custom/CustomKeyboard.java index 33c74eefe..8d0737b09 100644 --- a/app/src/leanback/java/com/fongmi/android/tv/ui/custom/CustomKeyboard.java +++ b/app/src/leanback/java/com/fongmi/android/tv/ui/custom/CustomKeyboard.java @@ -22,7 +22,8 @@ public class CustomKeyboard implements KeyboardAdapter.OnClickListener { } private void initView() { - binding.keyboard.setHasFixedSize(true); + binding.keyboard.setItemAnimator(null); + binding.keyboard.setHasFixedSize(false); binding.keyboard.addItemDecoration(new SpaceItemDecoration(6, 8)); binding.keyboard.setAdapter(adapter = new KeyboardAdapter(this)); } From e1cc816301577d302e4a9dc625ba7fde499f782e Mon Sep 17 00:00:00 2001 From: okjack Date: Wed, 10 Jul 2024 18:06:53 +0800 Subject: [PATCH 2/2] Update sdk --- app/build.gradle | 2 +- catvod/build.gradle | 2 +- forcetech/build.gradle | 2 +- gradle.properties | 2 +- hook/build.gradle | 2 +- ijkplayer/build.gradle | 2 +- jianpian/build.gradle | 2 +- pyramid/build.gradle | 2 +- quickjs/build.gradle | 2 +- thunder/build.gradle | 2 +- tvbus/build.gradle | 2 +- youtube/build.gradle | 2 +- zlive/build.gradle | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 46bf67d32..d75af79ec 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'com.fongmi.android.tv' - compileSdk 34 + compileSdk 35 flavorDimensions = ["mode", "api", "abi"] defaultConfig { diff --git a/catvod/build.gradle b/catvod/build.gradle index 71f4c20b6..23ae08550 100644 --- a/catvod/build.gradle +++ b/catvod/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'com.github.catvod.crawler' - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21 diff --git a/forcetech/build.gradle b/forcetech/build.gradle index fbef9b928..91b77e7ae 100644 --- a/forcetech/build.gradle +++ b/forcetech/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'com.forcetech' - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21 diff --git a/gradle.properties b/gradle.properties index 641d729b2..ea7891db8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects diff --git a/hook/build.gradle b/hook/build.gradle index 14e3ccbac..b00fce4c6 100644 --- a/hook/build.gradle +++ b/hook/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'com.fongmi.hook' - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21 diff --git a/ijkplayer/build.gradle b/ijkplayer/build.gradle index 3e4a29dd2..f5f776f8e 100644 --- a/ijkplayer/build.gradle +++ b/ijkplayer/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'tv.danmaku.ijk.media.player' - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21 diff --git a/jianpian/build.gradle b/jianpian/build.gradle index 9dd61fd8f..4de577838 100644 --- a/jianpian/build.gradle +++ b/jianpian/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'com.p2p' - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21 diff --git a/pyramid/build.gradle b/pyramid/build.gradle index 117e6156d..f5012c0d2 100644 --- a/pyramid/build.gradle +++ b/pyramid/build.gradle @@ -6,7 +6,7 @@ plugins { android { namespace 'com.undcover.freedom.pyramid' - compileSdk 34 + compileSdk 35 flavorDimensions = ["abi"] defaultConfig { diff --git a/quickjs/build.gradle b/quickjs/build.gradle index dd3a95737..a101f9012 100644 --- a/quickjs/build.gradle +++ b/quickjs/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'com.fongmi.android.tv.quickjs' - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21 diff --git a/thunder/build.gradle b/thunder/build.gradle index 034004d3a..7f8945591 100644 --- a/thunder/build.gradle +++ b/thunder/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'com.ghost.thunder' - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21 diff --git a/tvbus/build.gradle b/tvbus/build.gradle index 1d86f69da..d66838cb1 100644 --- a/tvbus/build.gradle +++ b/tvbus/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'com.tvbus.engine' - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21 diff --git a/youtube/build.gradle b/youtube/build.gradle index 9c3f1f66d..fab0f4ca3 100644 --- a/youtube/build.gradle +++ b/youtube/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'com.github.kiulian.downloader' - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21 diff --git a/zlive/build.gradle b/zlive/build.gradle index e9dd3109d..86f0d017d 100644 --- a/zlive/build.gradle +++ b/zlive/build.gradle @@ -3,7 +3,7 @@ plugins { } android { - compileSdk 34 + compileSdk 35 defaultConfig { minSdk 21