I'm trying to be a good citizen and allow the user to change their location permission preference within the app after their original choice. The problem is that using this code:
ActivityCompat.requestPermissions(getActivity(), new String[]
{Manifest.permission.ACCESS_FINE_LOCATION}, RESULT_APP_PERMISSIONS_CODE);
only works if the user has not allowed the permission. In other words, if they have allowed the FINE_LOCATION permission then no dialog shows and they cannot downgrade their choice to deny location permission without going to the system menu. Is it possible to re-request this location permission after it has been accepted?