check whether lock was enabled or not

后端 未结 9 1340
情书的邮戳
情书的邮戳 2020-11-30 23:52

I have to check whether system lock was enabled or not in settings.

I used below line code

boolean b = android.provider.Settings.System.getInt(
              


        
9条回答
  •  不思量自难忘°
    2020-12-01 00:11

    This can also be achieved using Device Admin Policies http://developer.android.com/guide/topics/admin/device-admin.html

提交回复
热议问题