diff --git a/Guide.md b/Guide.md index 4652bba..9717482 100644 --- a/Guide.md +++ b/Guide.md @@ -1093,16 +1093,15 @@ API31及以上弃用,请使用[密码复杂度要求](#密码复杂度要求) ### 动态取色 -需要安卓12或以上 +需要安卓12或以上,打开后OwnDroid中的颜色方案将会跟随系统 -在安卓12或以上此功能默认打开 +### 锁定OwnDroid -打开后OwnDroid中的颜色方案将会跟随系统 +打开OwnDroid时要求使用锁屏密码或生物识别进行验证 -建议打开,因为自带的颜色方案不好看 - -打开或关闭此功能都要重启OwnDroid +可以选择冷启动或热启动时要求验证 +建议打开保护存储空间,以防止OwnDroid的存储空间被清除 ## 构建 diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c43adde..b8904ae 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -28,7 +28,6 @@ android { buildTypes { release { - //project.gradle.startParameter.excludedTaskNames.add("lint") isMinifyEnabled = true isShrinkResources = true proguardFiles( diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 18ebe95..fe428b9 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -5,7 +5,7 @@ # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html --dontobfuscate +# -dontobfuscate # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index efeb69c..e0ee850 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -29,6 +29,7 @@ android:theme="@style/Theme.OwnDroid" android:enableOnBackInvokedCallback="true" android:testOnly="false" + android:manageSpaceActivity=".ManageSpaceActivity" tools:targetApi="34"> + + 使用密码进行验证 使用生物识别进行验证 处于后台时锁定 + 保护存储空间 + 存储空间受到保护 + 你不能清除OwnDroid的存储空间 + 清除存储空间 + 清除存储空间成功\n应用即将退出 读取外部存储 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 014617b..5f85e4b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -507,6 +507,11 @@ Authenticate OwnDroid with password Authenticate OwnDroid with biometrics Lock when switch to background + Protect storage + Storage is protected + You can\'t clear storage of OwnDroid + Clear storage + Clear storage success\nApplication will exit Read external storage