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
This line will never evaluate to true:
permissions[0] == android.Manifest.permission.ACCESS_FINE_LOCATION
Because you are comparing these two strings by reference.
You should use TextUtils.equals()
TextUtils.equals()
TextUtils.equals(permissions[0], android.Manifest.permission.ACCESS_FINE_LOCATION)