Browse Source

1.每次开屏都禁用锁屏

0423x6e6f
wangwanlei 3 weeks ago
parent
commit
3f12882d3b

+ 1
- 0
app/src/main/java/com/xhly/manageapp/ui/main/activity/MainActivity.kt View File

1642
 
1642
 
1643
             Const.ACTION_SCREEN_ON -> {
1643
             Const.ACTION_SCREEN_ON -> {
1644
                 LogShow("执行屏幕打开")
1644
                 LogShow("执行屏幕打开")
1645
+                ManageApplication.setLockScreenMode()
1645
                 if (!NetworkUtils.isAvailable(this)) {
1646
                 if (!NetworkUtils.isAvailable(this)) {
1646
                     showTipsDialog(getString(R.string.checknettips))
1647
                     showTipsDialog(getString(R.string.checknettips))
1647
                 }
1648
                 }

Loading…
Cancel
Save