0

in my app, it requires draw over app permission so I open setting using intent

Intent intent = new Intent();
        intent.setAction(Settings.ACTION_MANAGE_OVERLAY_PERMISSION);
        Uri uri = Uri.parse("package:" + context.getPackageName());
        intent.setData(uri);
        context.startActivity(intent);

so setting open and the user checks true to allow permission but he has to press back button to open my app again, but when I try turecaller I detect when user check it's open app again without press to the back button. how to make like this in my app

Ahmed Wahdan
  • 330
  • 4
  • 15

0 Answers0