private void requestPermissions ( Activity activity , int requestCode ) { String [ ] permissions = getRequiredAndroidPermissions ( ) ; handler . requestPermissions ( activity , permissions , requestCode ) ; }
Starts the async Permission Request . The caller activity will be notified of the result on the onRequestPermissionsResult method from the ActivityCompat . OnRequestPermissionsResultCallback interface .