app/src/main/java/pub/devrel/easypermissions/sample/BaseActivity.java
protected void alertAppSetPermission(String rationale, int requestCode) {
        new AppSettingsDialog.Builder(this, rationale)
                .setTitle(getString(R.string.title_settings_dialog))
                .setPositiveButton(getString(R.string.setting))
                .setNegativeButton(getString(R.string.cancel), null)
                .setRequestCode(requestCode)
                .build()
                .show();
    }
/**
     * alert AppSet Permission
     * @param rationale alert setting rationale
     * @param requestCode onActivityResult requestCode
     */
alert AppSet Permission
@param rationale alert setting rationale
@param requestCode onActivityResult requestCode
alert AppSet Permission @param rationale alert setting rationale @param requestCode onActivityResult requestCode
protected void alertAppSetPermission(String rationale, int requestCode) {
        new AppSettingsDialog.Builder(this, rationale)
                .setTitle(getString(R.string.title_settings_dialog))
                .setPositiveButton(getString(R.string.setting))
                .setNegativeButton(getString(R.string.cancel), null)
                .setRequestCode(requestCode)
                .build()
                .show();
    }
protected void alertAppSetPermission ( String rationale , int requestCode ) { new AppSettingsDialog . Builder ( this , rationale ) . setTitle ( getString ( R . string . title_settings_dialog ) ) . setPositiveButton ( getString ( R . string . setting ) ) . setNegativeButton ( getString ( R . string . cancel ) , null ) . setRequestCode ( requestCode ) . build ( ) . show ( ) ; }
alert AppSet Permission
 @param rationale alert setting rationale
 @param requestCode onActivityResult requestCode
alert AppSet Permission @param rationale alert setting rationale @param requestCode onActivityResult requestCode