From 23163003322624bc5a5f76970a846aa3ebcaaf04 Mon Sep 17 00:00:00 2001 From: Vera-Firefly <1964762970@qq.com> Date: Sat, 2 Nov 2024 01:36:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LauncherPreferenceVideoFragment.java | 1 + .../net/kdt/pojavlaunch/utils/JREUtils.java | 2 -- .../src/main/res/xml/pref_video.xml | 19 ++++++++++++++----- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/prefs/screens/LauncherPreferenceVideoFragment.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/prefs/screens/LauncherPreferenceVideoFragment.java index 77705dbb..e01aefd9 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/prefs/screens/LauncherPreferenceVideoFragment.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/prefs/screens/LauncherPreferenceVideoFragment.java @@ -1,6 +1,7 @@ package net.kdt.pojavlaunch.prefs.screens; import static net.kdt.pojavlaunch.prefs.LauncherPreferences.PREF_NOTCH_SIZE; +import static net.kdt.pojavlaunch.prefs.LauncherPreferences.PREF_ZINK_PREFER_SYSTEM_DRIVER; import android.app.Activity; import android.content.Intent; diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java index ce54dc9d..9ea18e8a 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java @@ -310,8 +310,6 @@ public static void setJavaEnvironment(String jreHome) throws Throwable { Log.d("DynamicLoader", "Base LD_LIBRARY_PATH: " + LD_LIBRARY_PATH); Log.d("DynamicLoader", "Internal LD_LIBRARY_PATH: " + jvmLibraryPath + ":" + LD_LIBRARY_PATH); setLdLibraryPath(jvmLibraryPath + ":" + LD_LIBRARY_PATH); - - // return ldLibraryPath; } public static void setRendererConfig(String localLibrary) throws Throwable { diff --git a/app_pojavlauncher/src/main/res/xml/pref_video.xml b/app_pojavlauncher/src/main/res/xml/pref_video.xml index 3ed3fa07..e77c0445 100644 --- a/app_pojavlauncher/src/main/res/xml/pref_video.xml +++ b/app_pojavlauncher/src/main/res/xml/pref_video.xml @@ -14,7 +14,8 @@ android:key="renderer" android:defaultValue="opengles2" android:icon="@drawable/ic_setting_engine" - app2:useSimpleSummaryProvider="true"/> + app2:useSimpleSummaryProvider="true" + /> + + + + app2:iconSpaceReserved="false" + /> + app2:iconSpaceReserved="false" + /> + app2:iconSpaceReserved="false" + /> + app2:iconSpaceReserved="false" + /> @@ -229,4 +237,5 @@ /> + \ No newline at end of file