I tried to perform a factory reset in Android using the RecoverySystem class, but I get permission errors, which I can not overwrite because they are system permissions. I w
@TapanHP, You can use any ID just to handle the activity result callback.
int REQUEST_CODE_ENABLE_ADMIN =1234;