diff --git a/Settings/build.gradle b/Settings/build.gradle
index 30c98931..e895afa1 100644
--- a/Settings/build.gradle
+++ b/Settings/build.gradle
@@ -71,6 +71,40 @@ android {
composeOptions {
kotlinCompilerExtensionVersion = '1.5.0' // 假设1.4.0支持Kotlin 1.9.0
}
+
+ lintOptions {
+ checkReleaseBuilds false
+ abortOnError false
+ }
+
+ signingConfigs {
+ platform {
+ storeFile file("platform.jks")
+ storePassword 'android'
+ keyAlias 'androidkey'
+ keyPassword 'android'
+ }
+ }
+
+ buildTypes {
+ release {
+ debuggable false
+ minifyEnabled false
+ signingConfig signingConfigs.platform
+ }
+
+ debug {
+ debuggable false
+ minifyEnabled false
+ signingConfig signingConfigs.platform
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ outputFileName = "BSettings.apk"
+ }
+ }
+ }
}
dependencies {
@@ -183,6 +217,7 @@ dependencies {
implementation libs.zxing
implementation files('../libs/settingslib_media_flags_lib.jar')
implementation files('../libs/core-all.jar')
+ implementation files('../libs/android.hidl.base-V1.0-java.jar')
implementation libs.dagger
annotationProcessor libs.dagger.compiler
}
diff --git a/Settings/res/layout/content_protection_preference_fragment.xml b/Settings/res/layout/content_protection_preference_fragment.xml
deleted file mode 100644
index f85f2d1f..00000000
--- a/Settings/res/layout/content_protection_preference_fragment.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/app/src/main/res/layout/private_space_confirm_deletion.xml b/app/src/main/res/layout/private_space_confirm_deletion.xml
deleted file mode 100644
index 7a0476de..00000000
--- a/app/src/main/res/layout/private_space_confirm_deletion.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file