mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
update build.gradle.kts
disable code obfuscate
This commit is contained in:
@@ -10,6 +10,7 @@ import android.util.DisplayMetrics
|
||||
import android.widget.Toast
|
||||
import androidx.activity.ComponentActivity
|
||||
import androidx.activity.compose.setContent
|
||||
import androidx.activity.enableEdgeToEdge
|
||||
import androidx.activity.result.contract.ActivityResultContracts
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.clickable
|
||||
@@ -62,6 +63,7 @@ class MainActivity : ComponentActivity() {
|
||||
}
|
||||
}
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
enableEdgeToEdge()
|
||||
WindowCompat.setDecorFitsSystemWindows(window, false)
|
||||
super.onCreate(savedInstanceState)
|
||||
registerActivityResult()
|
||||
|
||||
@@ -115,12 +115,10 @@ fun AndroidOwnerTheme(
|
||||
else -> LightColorScheme
|
||||
}
|
||||
val view = LocalView.current
|
||||
if (!view.isInEditMode) {
|
||||
SideEffect {
|
||||
val window = (view.context as Activity).window
|
||||
window.statusBarColor = Color.Transparent.toArgb()
|
||||
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = !darkTheme
|
||||
}
|
||||
SideEffect {
|
||||
val window = (view.context as Activity).window
|
||||
window.statusBarColor = Color.Transparent.toArgb()
|
||||
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = !darkTheme
|
||||
}
|
||||
|
||||
MaterialTheme(
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
<string name="wipe_data">清除数据</string>
|
||||
<string name="wipe_external_storage">清除外部存储</string>
|
||||
<string name="wipe_reset_protection_data">清除受保护的数据</string>
|
||||
<string name="wipe_euicc">清除eUICC</string>
|
||||
<string name="wipe_euicc">清除eUICC(eSIM)</string>
|
||||
<string name="wipe_silently">静默清除</string>
|
||||
<string name="will_delete_work_profile">将会删除工作资料</string>
|
||||
<string name="api34_or_above_wipedata_cannot_in_system_user">API34或以上将不能在系统用户中使用WipeData</string>
|
||||
|
||||
Reference in New Issue
Block a user