When i press enable GPS button in the default provider GPS dialog, it opens the setting screen with request code RequestCode.GPS_ENABLE but onActivityResult is being called with a random request code that does not match RequestCode.GPS_ENABLE.
Configuration
val isGooglePlayAvailable = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(Utils.getApp()) == ConnectionResult.SUCCESS
When i press enable GPS button in the default provider GPS dialog, it opens the setting screen with request code RequestCode.GPS_ENABLE but onActivityResult is being called with a random request code that does not match RequestCode.GPS_ENABLE.
Configuration
val isGooglePlayAvailable = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(Utils.getApp()) == ConnectionResult.SUCCESS