Can I check if my Android device is loaded in safe mode or not programmatically

I am a new student for Android, I want to develop an API. I want to check if my Android device is loaded in safe mode or not programmatically, is there any parameter? I checked the Settings.System parameters but found nothing. I am using Visual Studio for development and marshmallow android for testing.

+4
source share

Source: https://habr.com/ru/post/1676465/


All Articles