Call Require Permission rejected by user

  android, google-maps, java, permissions

enter image description here

  //Initialize fused location provider client
    fusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(this);

    //Check permission
    if (ActivityCompat.checkSelfPermission(NearbyMe.this
            , Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {
        //When permission granted
        //Call Method

        getCurrentLocation();
    }

I have written the permission and create the privated method why i still receive this error message

Source: Android Questions

LEAVE A COMMENT