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

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -