boot - how to differentiate safe mode and normal mode programmatically in android? -


i want work safe mode in android. how can check whether device in safe mode or not programmatically? possible set password safe mode?

you can check if device has been booted in safe mode issafemode(), can refer link, https://developer.android.com/reference/android/content/pm/packagemanager.html#issafemode()


Comments

Popular posts from this blog

The SDK directory does not exist (ubuntu 16.04) (react native) -

python - How to clone or copy a list? -

python - How to use Celery in Tornado with redis as broker and backend? -