How to change the Lock screen custom text(Owner Info)?

人盡茶涼 提交于 2019-12-04 17:17:43

Change Settings.Secure.LOCK_PATTERN_ENABLED to Settings.System.NEXT_ALARM_FORMATTED.

Note that Settings.System.NEXT_ALARM_FORMATTED was deprecated in API level 21. You must use getNextAlarmClock() instead. getNextAlarmClock() is a public method in AlarmManager class which was introduced in API level 21. You need to install API level 21 in order to use this method. Also, make necessary changes in Android Project Build Target.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!