Android “onRequestPermissionsResult” not being called
I'm trying to implement Marshmallow's permission support, but my code inside "onRequestPermissionsResult" is never called. The "onCreate" and "onMapReady" parts of the code work fine. Checking if the device has the permission and requesting the permission works fine. I'm using an Nexus 5X emulator running Android Marshmallow 6.0, API 23. I have tried to do what it's mentioned here -> Android M Permissions: onRequestPermissionsResult() not being called But I cannot get it to work, it doesn't matter if I use "ActivityCompat.requestPermissions" or directly "requestPermissions", it nevers get