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
Post a Comment