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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -