Fix a problem of Lock screen now

Remove unused string resource
This commit is contained in:
BinTianqi
2024-08-14 12:40:02 +08:00
parent 32f43ce801
commit 8c40a5a716
7 changed files with 61 additions and 64 deletions

View File

@@ -40,7 +40,6 @@ class Receiver : DeviceAdminReceiver() {
override fun onDisabled(context: Context, intent: Intent) {
super.onDisabled(context, intent)
context.toggleInstallAppActivity()
backToHomeStateFlow.value = true
Toast.makeText(context, R.string.onDisabled, Toast.LENGTH_SHORT).show()
}