I\'m trying to implement Marshmallow\'s permission support, but my code inside \"onRequestPermissionsResult\" is never called. The \"onCreate\" and \"onMapReady\" parts of the c
MY_LOCATION_REQUEST_CODE should be a non-egative constant.
MY_LOCATION_REQUEST_CODE
You should declare it as
private static final int MY_LOCATION_REQUEST_CODE = 1;