Update StrictMode policy
This commit is contained in:
parent
5d102ec610
commit
91239f92d2
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,10 @@ private fun createVmPolicy(): VmPolicy {
|
|||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
|
||||
detectCredentialProtectedWhileLocked()
|
||||
}
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
||||
detectIncorrectContextUse()
|
||||
detectUnsafeIntentLaunch()
|
||||
}
|
||||
}
|
||||
.penaltyLog()
|
||||
.build()
|
||||
|
|
Loading…
Reference in a new issue