首页权限获取优化

This commit is contained in:
2024-10-25 15:54:13 +08:00
parent 96819e08b4
commit 3a44129b03
5 changed files with 112 additions and 32 deletions
@@ -129,9 +129,9 @@ class MainActivity : BaseAppCompatActivity() {
bt.index = 3
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
getPression()
}
// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
// getPression()
// }
}
fun getPression() {