@Override
    protected void onDialogClosed(boolean positiveResult) {
        super.onDialogClosed(positiveResult);

        if (positiveResult) {
            final long newDuration = picker.getDuration();

            if (!callChangeListener(newDuration)) {
                return;
            }

            // persist
            setDuration(newDuration);
            updateDescription();
        }
    }
Gets the {@link TimeDurationPicker} used by this dialog.

@return the picker used by this dialog.
android/third_party/time-duration-picker/src/main/java/mobi/upod/timedurationpicker/TimeDurationPickerPreference.java