Android Factory Reset Programmatically

后端 未结 6 1565
悲&欢浪女
悲&欢浪女 2020-12-05 07:53

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

6条回答
  •  旧时难觅i
    2020-12-05 08:22

    @TapanHP, You can use any ID just to handle the activity result callback.

    int REQUEST_CODE_ENABLE_ADMIN =1234;

提交回复
热议问题